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/02/22 15:51:45 UTC

svn commit: r746714 - /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml

Author: davsclaus
Date: Sun Feb 22 14:51:45 2009
New Revision: 746714

URL: http://svn.apache.org/viewvc?rev=746714&view=rev
Log:
CAMEL-1368: onRedelivery now support per exception clause, instead of only global. Using CamelCase for some header keys.

Modified:
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml?rev=746714&r1=746713&r2=746714&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/onexception/DeadLetterChannelOnExceptionOnRedeliveryTest.xml Sun Feb 22 14:51:45 2009
@@ -34,8 +34,10 @@
     </bean>
 
 
+    <!-- START SNIPPET: e2 -->
     <bean id="myRedeliveryProcessor"
           class="org.apache.camel.processor.DeadLetterChannelOnExceptionOnRedeliveryTest$MyRedeliverPrcessor"/>
+    <!-- END SNIPPET: e2 -->
 
     <bean id="myIORedeliverProcessor"
           class="org.apache.camel.processor.DeadLetterChannelOnExceptionOnRedeliveryTest$MyIORedeliverPrcessor"/>
@@ -47,12 +49,13 @@
           class="org.apache.camel.processor.DeadLetterChannelOnExceptionOnRedeliveryTest$ThrowIOExceptionProcessor"/>
 
 
-    <!-- this is the camel context where we define the routes -->
     <camelContext xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="deadLetterErrorHandler">
 
+        <!-- START SNIPPET: e1 -->
         <onException onRedeliveryRef="myIORedeliverProcessor">
             <exception>java.io.IOException</exception>
         </onException>
+        <!-- END SNIPPET: e1 -->
 
         <route>
             <from uri="direct:start"/>
@@ -67,6 +70,5 @@
         </route>
 
     </camelContext>
-    <!-- END SNIPPET: e1 -->
 
 </beans>