I take messages from the ActiveMQ queue and run a Java application that may succeed or fail.
If the application does not work, I want the message to remain in the queue, that is, save it without deleting it.
Is there a way to get a message to automatically remove it from the queue?
Is there an atom operation, for example, fetching from a queue or removing from a queue?
Thanks.
source share