Richa, 

You can use maximumRedeliveries option to achieve this. 

Eg: errorHandler(defaultErrorHandler().maximumRedeliveries(3));

Hope you routes are wrapped by onException clauses. 

Futher you can refer here for redelivery and route policies:
http://camel.apache.org/redeliverypolicy.html

Thanks
Guru
@gnanagurus



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-JMS-retry-mechanism-tp5734328p5734329.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to