You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/06/15 17:47:57 UTC

svn commit: r784827 - /camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java

Author: davsclaus
Date: Mon Jun 15 15:47:56 2009
New Revision: 784827

URL: http://svn.apache.org/viewvc?rev=784827&view=rev
Log:
CAMEL-1715: TransactionErrorHandler is now as powerful as DLC.

Modified:
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java

Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java?rev=784827&r1=784826&r2=784827&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java (original)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithTransactedErrorHandlerOnExceptionRedeliveryTest.java Mon Jun 15 15:47:56 2009
@@ -27,6 +27,7 @@
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new SpringRouteBuilder() {
             public void configure() throws Exception {
+                // START SNIPPET: e1
 
                 // configure transacted error handler to use up till 4 redeliveries
                 // we have not passed in any spring TX manager. Camel will automatic
@@ -37,7 +38,6 @@
                 // speical for this exception we only want to do it at most 4 times
                 onException(IllegalArgumentException.class).maximumRedeliveries(4);
 
-                // START SNIPPET: e1
                 from("direct:okay")
                     // marks this route as transacted, and we dont pass in any parameters so we
                     // will auto lookup and use the Policy defined in the spring XML file