Andrea Cosentino created CAMEL-10408:
----------------------------------------
Summary: Camel-JMS: Suspending/resuming won't work in case of
timeout
Key: CAMEL-10408
URL: https://issues.apache.org/jira/browse/CAMEL-10408
Project: Camel
Issue Type: Improvement
Components: camel-jms
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
Priority: Minor
If you set for example a DefaultShutdownStrategy with a specific timeout and
enqueue some messages on ActiveMQ that you'll consume from a consumer, in case
you'll try to suspend the Consumer route and the timeout elapsed, the route
will be stopped with a forced shutdown and then the doStop method will be used.
In this scenario using resume won't have any effect since the listenerContainer
will be null and unable to be restarted.
I'll add just a simple message for this specific case suggesting the user to
start the route again to make it works.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)