How to ensure ordering in camel context polling weblogic jms queue

2019-06-13 Thread Jeffrey John
I am trying to setup a camel context that polls a weblogic jms queue, consumes the message and sends it to a webservice endpoint. Incase any error occurs in the transaction or the target system is unavailable, I need to redeliver the same message without losing sequence/ordering. I have set up a c

RE: Intermittent RejectedExecutionException

2019-06-13 Thread Michael Davis
Thanks for the quick reply, Claus! My understanding is that we’d have to then configure the to: endpoint with a static topic – all the messages coming out of the producer would have to have the same topic, right? Can we say that this is a known issue in Camel, and that my client is not doing a

Re: Intermittent RejectedExecutionException

2019-06-13 Thread Claus Ibsen
Hi I would try with just and set a header with the dynamic destination (CamelJmsDestinationOverride) or something like that, check the docs/source code, then you use a static sender. On Thu, Jun 13, 2019 at 6:57 PM Michael Davis wrote: > > Hi, > > I'm running Camel version 2.24.0, I saw the sam

Intermittent RejectedExecutionException

2019-06-13 Thread Michael Davis
Hi, I'm running Camel version 2.24.0, I saw the same issue with 2.23.x. I've got a route that connects two JMS systems. The Producer is configured with a dynamic to: Sometimes, but not always, we get this error on startup: java.util.concurrent.RejectedExecutionException: null at org.apa