Forum Home » Fuse Distributions » Fuse Mediation Router

Thread: Camel retry from start of the route

 

Permlink Replies: 2 - Last Post: Jan 30, 2012 12:07 AM Last Post By: mohithanda
mohithanda

Posts: 13
Registered: 11/28/11
Camel retry from start of the route
Posted: Jan 20, 2012 12:10 AM
  Click to reply to this thread Reply
Hi Guys,

I understand that the Point of entry for redelivery attempts is the point of the failure.

I was wondering if I could retry the whole route if an exception is caught?

Regards,
Mohit
davsclaus

Posts: 1,893
Registered: 10/14/08
Re: Camel retry from start of the route
Posted: Jan 20, 2012 9:03 AM   in response to: mohithanda in response to: mohithanda
  Click to reply to this thread Reply
No you cannot, if you are using the Camel error handler.

However if your point of entry is by nature redeliverable, then that is possible. For example a file input, will be able to redeliver, simply just by picking up the file again.

The same for JMS. You can configure ActiveMQ to perform redeliveries, if you enable transacted JMS. By default ActiveMQ will perform up till 6 redelivery attempts, before the message is moved to a dead letter queue.
mohithanda

Posts: 13
Registered: 11/28/11
Re: Camel retry from start of the route
Posted: Jan 29, 2012 11:59 PM   in response to: davsclaus in response to: davsclaus
  Click to reply to this thread Reply
Thanks Claus!

Regards,
Mohit

Edited by: mohithanda on Jan 30, 2012 12:06 AM