Four Stars

Processing message from specific point in the mediation route

How to reprocess a message from a specific point in the route when exception occurs ?

 

2 REPLIES
Moderator

Re: Processing message from specific point in the mediation route

Hello,

Could you please elaborate your case with an example? Which will be helpful for us to understand your issue.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: Processing message from specific point in the mediation route

Hi,

I have a simple route in which if exception occurs then it retries the message from the point of exception.

But I want this message to be retried from the beginning (or any required point) of the route.

 

route design is 

cTimer1 --> cProcessor1 --> cProcessor2 --> cProcessor3 --> cProcessor4

cErrorHandler (with autoretry is set )

 

If the exception occurs in cProcessor3 then by default route retries the message from cProcessor2.

But I want to be able to make it retry from either cTimer1 or cProcessor1.

 

Researching on this come to the conclusion that we need to divide the route from the point from which we want the retry. (I.e. cProcessor1 ) and retry the message from the beginning of this subroute (). But then again the question remains the same that how the message will be retried from beginning of the route.

I hope this clears the scenario.

 

Thanks!