Repository: camel
Updated Branches:
  refs/heads/master 891298aab -> cd0c8c2fc


CAMEL-10408: Camel-JMS: Suspending/resuming won't work in case of timeout


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

Branch: refs/heads/master
Commit: cd0c8c2fc70b5434a79af53e147a3e255c78c231
Parents: 891298a
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Sat Oct 22 12:27:42 2016 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Sat Oct 22 12:29:41 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/component/jms/JmsConsumer.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/cd0c8c2f/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConsumer.java
----------------------------------------------------------------------
diff --git 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConsumer.java
 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConsumer.java
index 0a99724..8acccc9 100644
--- 
a/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConsumer.java
+++ 
b/components/camel-jms/src/main/java/org/apache/camel/component/jms/JmsConsumer.java
@@ -185,6 +185,7 @@ public class JmsConsumer extends DefaultConsumer implements 
Suspendable {
         // then we will use updated configuration from jms endpoint that may 
have been managed using JMX
         listenerContainer = null;
         messageListener = null;
+        initialized = false;
 
         // shutdown thread pool if listener container was using a private 
thread pool
         if (shutdownExecutorService && executorService != null) {

Reply via email to