camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10408) Camel-JMS: Suspending/resuming won't work in case of timeout
Date Sat, 22 Oct 2016 10:35:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrea Cosentino updated CAMEL-10408:
-------------------------------------
    Description: 
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 and set the initialized field to false when the doStop is called.

  was:
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.


> 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
>             Fix For: 2.17.4, 2.18.1, 2.19.0, 2.16.5
>
>
> 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 and set the initialized field to false when the doStop is called.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message