We have 2 services.
Service_1 is the main service which publish a document on UM.
Service _2 subscribes those messages residing on UM.
I noticed when Service_2 is run and it takes off the message from UM thereafter target system webservice is called.
In case there is network issue for fraction of seconds on the target system and on the same time service_2 is processing published document , it will result in message from UM getting lost.
How can we ensure in case of above issue we can re-write the message on UM and next time subscriber service is called it can process the lost message.