camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: transfer exception
Date Wed, 13 Aug 2014 05:40:42 GMT
Hi

Then you need to not rollback the tx, and handle the exception and
return the response as the stacktrace.


On Tue, Aug 12, 2014 at 10:37 PM, Matt Wendling <mwendling@ipass.com> wrote:
> Hi,
>
> I'm using Camel with ActiveMQ and InOut request/reply routes.   When I set
> transferException=true i get the exception returned to the caller.  However
> if the route is transacted then the exception is NOT returned and I end up
> with the 20000 ms timeout on the caller.
>
> Is there a way to get this exception and return it back to the caller in a
> transacted route?
>
> thanks,
>
> Matt



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message