camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [6/6] camel git commit: CAMEL-8231: camel-stomp should detect failure when sending.
Date Sun, 15 Feb 2015 08:43:37 GMT
CAMEL-8231: camel-stomp should detect failure when sending.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/594842a2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/594842a2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/594842a2

Branch: refs/heads/master
Commit: 594842a20e8b1138d205c4a23f0bfefe6e0c5a35
Parents: 4b74b2d
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun Feb 15 09:43:35 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Feb 15 09:44:04 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/camel/component/stomp/StompProducer.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/594842a2/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompProducer.java
b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompProducer.java
index 81371b4..7d7456e 100644
--- a/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompProducer.java
+++ b/components/camel-stomp/src/main/java/org/apache/camel/component/stomp/StompProducer.java
@@ -37,6 +37,7 @@ public class StompProducer extends DefaultAsyncProducer implements Processor
{
         } catch (Exception e) {
             exchange.setException(e);
         }
+        callback.done(true);
         return true;
     }
 


Mime
View raw message