camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ben1729 <>
Subject Protecting route against crashes
Date Sun, 16 Sep 2012 17:34:32 GMT
Hi all,

I have a route that looks something like this, running in ServiceMix

    // Message processing

I would like to protect against the server crashing whilst processing this
route so that if the message is not lost in transit. What is the best way to
do this from within an OSGi environment? I would like the message to appear
back in the jms start queue in it's original format if the server goes down
so that when it comes back up it can continue it's journey. 

I have seen there is transaction support but I am unsure how to set this up
in ServiceMix (all examples I have found are outside the OSGi environment).
How do I configure this? 

Could I use CLIENT_ACKNOWLEDGE? If so how do I configure the JmsComponent
and how do I programmatically acknowledge the message (is there a
acknowledge() method)?

Thanks in advance.


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

View raw message