If uts queue based then you can just select retry number in queue
If it is a local transactiontype then give the count of retey in config
Local retry will be immediate…if the question is how to make queue item
Based immediate …then we can manually create logic to add wueue item
With higher priority when failed so that immediately same item is picked and add only till a mac number and for this retry in queue should ve set to 0
Cheers