I am taking messages from ActiveMQ queue and running a Java application which can succeed or fail.
In case the application fails, i want the message to remain on the queue, that is to keep it without dequeueing it.
Is there a way to take a message with out automaticly erasing it from the queue?
Is there are atom operation like fetching from queue or erasing from queue?
Thanks.