Re: Dead letter handling in an embedded Camel client.

2014-01-21 Thread Paul Gale
After further reading it appears that as Camel's default message acknowledgement mode is 'auto' I would have to switch to 'transacted acknowledge mode' (use on the route). Therefore am I correct in assuming that to in order to avoid 'losing' messages that I would have to implement XA transaction

Re: Dead letter handling in an embedded Camel client.

2014-01-15 Thread Claus Ibsen
On Tue, Jan 14, 2014 at 4:59 PM, Paul Gale wrote: > Hi, > > What is the recommended way to handle the following scenario. > > I intend to embed Camel in a client (a standalone Java process). The > client receives messages from a queue on an ActiveMQ 5.8.0 broker. The > client's processor is expect

Dead letter handling in an embedded Camel client.

2014-01-14 Thread Paul Gale
Hi, What is the recommended way to handle the following scenario. I intend to embed Camel in a client (a standalone Java process). The client receives messages from a queue on an ActiveMQ 5.8.0 broker. The client's processor is expected to save each message to a database (amongst other things).