camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r955298 - /camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
Date Wed, 16 Jun 2010 16:52:46 GMT
Author: davsclaus
Date: Wed Jun 16 16:52:45 2010
New Revision: 955298

URL: http://svn.apache.org/viewvc?rev=955298&view=rev
Log:
CAMEL-2723: Interceptors is now support async routing.

Modified:
    camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java

Modified: camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java?rev=955298&r1=955297&r2=955298&view=diff
==============================================================================
--- camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
(original)
+++ camel/trunk/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyContentExchange.java
Wed Jun 16 16:52:45 2010
@@ -176,8 +176,8 @@ public class JettyContentExchange extend
                 }
             }
         } finally {
-            // now invoke callback
-            callback.onTaskCompleted(exchange);
+            // now invoke callback to indicate we are done async
+            callback.done(false);
         }
     }
 
@@ -191,7 +191,8 @@ public class JettyContentExchange extend
         }
 
         if (callback != null) {
-            callback.onTaskCompleted(exchange);
+            // now invoke callback to indicate we are done async
+            callback.done(false);
         }
     }
 



Mime
View raw message