found out the stuck messages were actually duplicate messages since I was
using indempotentrepository, my question is how do i reroute these messages to
another queue if possible? thanks
On Friday, July 17, 2020, 02:26:40 PM EDT, Bing Lu
<mfcp...@yahoo.com.invalid> wrote:
Hi, I'm using sjms batch with activemq, the consumers processes messages on
the queue and after a while, there is nothing going to the consumers and no
errors in the log while some messages are still stuck on the queue. any ideas
what could have caused this?
i have the activemqconnection properties as below
connectionFactory.setCopyMessageOnSend(false);
connectionFactory.setOptimizeAcknowledge(true);
connectionFactory.setOptimizedMessageDispatch(true);
connectionFactory.setDispatchAsync(false);
and sjms property i think that's relevant to the stuck message set as well
component.setAsyncStartListener(true);