Hi Frank

We are using AQ too so i know some of the challenges. 
In some case we use a mix of broker redelivery and camel exception handler
with backoff.
I can't remember it from my the top of my head but here is some sudocode ->

from("oracleaq:myqueue?concurrentConsumers=20")
transacted
  onexception(exception e)
    do some backoff, but within db transaction timeout - at the backoff
don't handle the exception, and let the transaction  rollback. This will
cause broker redelivery
  end;
...........................


If useful for you I can update the post with a real snip when I get back at
work.

Best,
Preben




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-avoid-blocking-threads-in-JmsComponent-with-Oracle-AQ-tp5764487p5764558.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to