cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Datahub: How can I enable retry mechanism only on a particular pool?

rahulverma94
Active Participant
0 Likes
383

Hi,

I do not want to enable retries on any of the incoming idocs to hybris. However, for all outbound scenarios i.e Sales Order publication to SAP ERP/S4 I want to set up retry mechanism.

I believe the current retry mechanism in datahub is not pool specific. Is there any way I can still achieve all the retry related configuration functionalities but only on selected pool??

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member333910
Active Participant
0 Likes

Hi Rahul, by 'retry mechanism' you are referring to the number of attempted publications for a given item. Correct? This behavior is driven by the value of the datahub.max.publication.retry.count property.

You are correct that this behavior is not pool specific and there exists no out of the box configuration to manage this behavior at the pool level.

One option you can consider is overriding DefaultPublicationRetryService.manageRetriesForPublication(final TargetSystemPublication publication) to make the service take the pool into consideration. You can get a reference to the pool via the TargetSystemPublication which is passed as a method parameter.