RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-15 Thread Mattern, Alex
- From: Mattern, Alex Sent: Thursday, October 7, 2021 3:00 PM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ Claus Isben, The reason for wanting a long receive timeout is to prevent the queue server from having

RE: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
Mattern -Original Message- From: Claus Ibsen Sent: Thursday, October 7, 2021 10:24 AM To: users@camel.apache.org Subject: [EXTERNAL SENDER:] Re: camel-jms long receiveTimeout preventing shutdown with Oracle AQ Hi Do NOT use such a long receive timeout, that is not its purpose

Re: camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Claus Ibsen
Hi Do NOT use such a long receive timeout, that is not its purpose. The timeout should be a reasonable value that allows camel-jms (eg spring jms) to react on shutdown or stopping, or reducing concurrent consumers if there are no more pending messages. On Thu, Oct 7, 2021 at 3:05 PM Mattern,

camel-jms long receiveTimeout preventing shutdown with Oracle AQ

2021-10-07 Thread Mattern, Alex
I would like Apache Camel to perform a graceful shutdown within the default 45 seconds. After 45 seconds I would like the the shutdown to be forced. I normally expect the default 45 second timeout to work, but unfortunately it does not seem to work when using a JMS component with a long