camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1352417 - /camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java
Date Thu, 21 Jun 2012 05:48:05 GMT
Author: davsclaus
Date: Thu Jun 21 05:48:05 2012
New Revision: 1352417

URL: http://svn.apache.org/viewvc?rev=1352417&view=rev
Log:
CAMEL-5381: Fixed headers not propagated, due copyFrom should check if trying to copy itself.

Modified:
    camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java

Modified: camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java?rev=1352417&r1=1352416&r2=1352417&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java
(original)
+++ camel/branches/camel-2.9.x/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/DynamicRoutersWithJMSMessageLostHeadersIssueTest.java
Thu Jun 21 05:48:05 2012
@@ -57,12 +57,12 @@ public class DynamicRoutersWithJMSMessag
             public void configure() throws Exception {
                 from("activemq:queue1")
                         .setHeader("HEADER1", constant("header1"))
-                        .dynamicRouter(method(DynamicRouter.class, "dynamicRoute"))
+                        .dynamicRouter(bean(DynamicRouter.class, "dynamicRoute"))
                         .to("mock:checkHeader");
 
                 from("direct:foo")
                         .setHeader("HEADER1", constant("header1"))
-                        .dynamicRouter(method(DynamicRouter.class, "dynamicRoute"))
+                        .dynamicRouter(bean(DynamicRouter.class, "dynamicRoute"))
                         .to("mock:checkHeader");
             }
         };



Mime
View raw message