camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Difference between transacted and jmstx
Date Fri, 05 Dec 2014 08:28:55 GMT

Yeah transactions can do that,

And if you want to read from a book, then both the Camel cookbook and
Camel in Action has a full chapter devoted to transactions

On Fri, Dec 5, 2014 at 2:29 AM, Madhu Nair <> wrote:
> Hi,
> I have a route that reads messages from a message queue and sends them
> downstream to another application. If there is a failure on that
> application side the message seems to get lost. I want the message to
> be put back on to the queue if there is an exception.  I am wondering
> if doing from().transacted() will give me the desired result since it
> doesn't appear to be the case.
> Or do I need to define the route as reading from the queue using the
> jmstx mechanism i.e.
> from ("jmstx:queue:....")
> I read on both approaches and I am still not clear which one will give
> me the desired result.
> Thanks,
> Madhu

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message