camel-jms - ListenerContainer should signal that running is not allowed when
its being stopped
----------------------------------------------------------------------------------------------
Key: CAMEL-3598
URL: https://issues.apache.org/jira/browse/CAMEL-3598
Project: Camel
Issue Type: Improvement
Components: camel-jms
Affects Versions: 2.5.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.7.0
When you stop a JmsConsumer (also when using @Consume) we can detect this and
signal to Spring DefaultMessageListenerContainer in the {{runningAllowed}}
method. This allows to stop the listener faster and in a more graceful manner.
For example ActiveMQ consumer is not likely configured with failover, and thus
the listener container will try to recover, even though we have asked the
Consumer to stop.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.