servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject svn commit: r1455507 - /servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java
Date Tue, 12 Mar 2013 12:26:56 GMT
Author: janstey
Date: Tue Mar 12 12:26:56 2013
New Revision: 1455507

URL: http://svn.apache.org/r1455507
Log:
use caught exception rather than exchange exception as that may not be set yet

Modified:
    servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java

Modified: servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java
URL: http://svn.apache.org/viewvc/servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java?rev=1455507&r1=1455506&r2=1455507&view=diff
==============================================================================
--- servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java
(original)
+++ servicemix/components/trunk/engines/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/StaticRoutingSlip.java
Tue Mar 12 12:26:56 2013
@@ -240,7 +240,7 @@ public class StaticRoutingSlip extends E
                     if (correlationId != null) {
                         me = (MessageExchange) store.load(correlationId);               
      
                     } 
-                    fail(me, exchange.getError());
+                    fail(me, re);
                 } 
                 if (previousId != null) {
                     me = (MessageExchange) store.load(previousId);



Mime
View raw message