Yes, lease-database-locker with jDBCIOExceptionHandler resolved the issue.
Jayabharath sadanagiri
ASKER
I see a new issue after implementing lease-database-locker. Issue: with new configurations, messages are piling up when we switch ActiveMQ nodes. observations:
1. messages are getting accumulated in one particular queue only and dispatched queue section has pending messages.
2. not observed issues with other queues
3. tried with queuePrefetch = 1, but still observed pending messages in dispatch queue. Consumers were not processing msgs.
Radek Baranowski
I suggest you close this question and open a new one for the sake of clarity.