As a quick and dirty solution one can do this on bundle shutdown:

JmsEndpoint jmsEndpoint = camelContext.getEndpoint("amq:queue:Endpoint",
JmsEndpoint.class);
jmsEndpoint.onListenerContainerStopped(null);

This will decrement the runningMessageListeners (which should always be on
for temp queues because a singlethreadexecuter is used) to zero allowing
stop() to propagate to ServiceSupport.



--
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-Request-Reply-DMLC-shutdown-tp5753465p5753536.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to