I have configure a REST service connector for a rabbit MQ queue, to help put messages from a subscriber , and send them to a particular URL configured as the service address of the connector.
I have future configured a service policy, to specify maximum retry count, and also specify to write failing messages to a configured database of my ESB instance.
On testing the retrying feature, the network connection to my database was *BROKEN*. I found that my message was lost after the maximum retry count.
Is there any way to prevent message loss is such case ?
Jack Wong
Tags:
You need to make sure the database itself is highly available if you want to log the failed message to the database. Alternatively, you can audit the message on the publish side...so if there is a failure in the database....on the publish audit, it will remain in the queue. But really the key is to build the infrastructure so that its highly available.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by