2 Replies Latest reply on Jan 29, 2012 7:07 PM by mohithanda

    Camel retry from start of the route

    mohithanda

      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

        • 1. Re: Camel retry from start of the route
          davsclaus

          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.

          • 2. Re: Camel retry from start of the route
            mohithanda

            Thanks Claus!

             

            Regards,

            Mohit

             

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