I run a  Camel JMS Request Reply <http://camel.apache.org/request-reply.html>  
in my routes works great. I believe responses go to a temp queue via 
org.apache.camel.component.jms.DefaultJmsMessageListenerContainer
<https://camel.apache.org/maven/camel-2.15.0/camel-jms/apidocs/org/apache/camel/component/jms/DefaultJmsMessageListenerContainer.html>
 
.

My sending//to/  URL is :
activemq:queue:myQueue?jmsMessageType=Text&replyToType=Temporary&concurrentConsumers=1

When I unload/un-deploy the WAR (which contains the camel route jms
request/reply) I get (every 5 seconds):  

/*17:43:15,336 ERROR
[org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (Camel
(p6pmtjsonresponse) thread #2 - TemporaryQueueReplyManager[request]) Could
not refresh JMS Connection for destination 'temporary' - retrying using
FixedBackOff{interval=5000, currentAttempts=5, maxAttempts=unlimited}.
Cause: null
17:43:15,343 ERROR
[org.apache.camel.component.jms.DefaultJmsMessageListenerContainer] (Camel
(p6pmtjsonresponse) thread #4 - TemporaryQueueReplyManager[Request]) Could
not refresh JMS Connection for destination 'temporary' - retrying using
FixedBackOff{interval=5000, currentAttempts=5, maxAttempts=unlimited}.
Cause: null*/

Seems like (?)
org.apache.camel.component.jms.DefaultJmsMessageListenerContainer is still
running and trying to reconnect to the TemporaryQueueReply? 

Is the away to get kill/stop
org.apache.camel.component.jms.DefaultJmsMessageListenerContainer when the
/WAR/ is unloaded?  



--
View this message in context: 
http://camel.465427.n5.nabble.com/ERROR-When-unloading-a-WAR-wildfly-9-x-tp5791164.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to