Delaying the last retrying(fifth time) in trading networks

Hi,

We are using wm 6.1 and as per our new requirement we need to Delaying the last retrying(fifth time) in trading networks.

Could any one suggest us good options like any service available or we need to do manually by writing new flow service.

Thanks,
Vikram

Can you identify what type of retry needs to be delayed? A service invoked by a rule? A delivery task retry?

The type of retry is a service invoked by a rule.

Four retries should be in same interval(ex: 1000ms) and the fifth retry should be of different interval(ex: 5000ms).

Thanks,
Vikram

You have to write a custom service where in branching on the $iteration and using sleep service you can achieve this.

Thanks
Shyam