camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erwan Guiochet <>
Subject Activemq inOnly producer Exception
Date Mon, 10 Jun 2013 12:41:08 GMT
Hi all,

I'm trying to have an inOnly pattern and catch exception thrown by an
activemq producer in an inOnly pattern. (ex: Usage Manager Memory Limit
reached. Stopping producer (ID:...) to prevent flooding ...)

Like this: HTTP -> CAMEL -> ActiveMQ ...

  <from uri="direct:myRoute"/>
  <inOnly to="activemq:queue:myQueue"/>

In this case Camel won't catch exception thrown by the producer if memory
limits have been reached.
if i want to get it i must change "inOnly" to "to", but then i loose
asynchronous processing.

I have tried to put "?disableReplyTo=true" on my consumer and "to" for
producer, but i take a time out because camel wait for a response (because
of the "to').

I'm sure it should be simple to resolve but i didn't find solution in docs.

Thanks for your help !


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message