You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2007/11/07 21:57:15 UTC

svn commit: r592896 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java

Author: gnodet
Date: Wed Nov  7 12:57:14 2007
New Revision: 592896

URL: http://svn.apache.org/viewvc?rev=592896&view=rev
Log:
Fix pipeline which use an old exchange when copying

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java?rev=592896&r1=592895&r2=592896&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java (original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/Pipeline.java Wed Nov  7 12:57:14 2007
@@ -120,7 +120,7 @@
                         break;
                     }
 
-                    nextExchange = createNextExchange(processor, exchange);
+                    nextExchange = createNextExchange(processor, nextExchange);
                     sync = process(original, nextExchange, callback, processors, processor);
                     if (!sync) {
                         return;