may I ask you to please clarify this point. "If you specify noErrorHandler, the JMS endpoint in ServiceMix will just receive your bean exception and will not acknowledge the message off the queue. This will cause it to retry it forever. For more QoS, you can use transactions on the JBI JMS endpoint (or use Spring transactions with the Camel JMS endpoints). "
If I put from(SERVICE_IN).errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(2)).to(BEAN_IN); it works fine. Here I am doing the same thing first specify a dead letter queue and afterwards specify redelivery. Thanks, Pratibha pratibhaG wrote: > Is this feature also available if I use camel in servicemix? That is if I > use > servicemix-camel component and have configuration like this: > from(SERVICE_IN).errorHandler(deadLetterChannel(ERROR_IN).maximumRedeliveries(-1)).to(BEAN_IN); > > > will my message be redelivered infinitely if it gets error every time it > tries to redelive? > > I tried this in servicemix 3.2.1 but it never tried to redeliver my > message. > It has the same behaviour as of maximumRedeliveries(0). > > Any idea? > > Regards, > Pratibha > ----- --- Gert Vanthienen http://www.anova.be -- View this message in context: http://www.nabble.com/RedeliveryPolicy-semantics-tp14588327s22882p17339397.html Sent from the Camel - Users mailing list archive at Nabble.com.
