btw there is batch component in the SJMS component
http://camel.apache.org/sjms-batch.html

On Sat, Nov 26, 2016 at 10:30 AM, sa_james <sa_remin...@hotmail.com> wrote:
> Thank you very much.
> I just discovered the tracing feature of camel to be able to follow along
> and you just confirmed my finding. I was using the SJMS component and found
> out that the SessionBatchTransactionSynchronization will commit the Batch
> only after the last exchange has finished the route. It means that, it could
> roll back a batch because of an exception with one of the exchanges in the
> batch but the previous exchanges in the same batch would have already been
> processed by the last node in the route (e.g to("jms:confirm").
> So basically, I have to find a way to aggregate the messages after the
> /from("jms:source")/ and check them before sending them to the /"jms:sink"/.
>
> Camel is a killer application.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Exchange-is-complete-meaning-tp5790648p5790661.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to