I am testing Java consumer failure while consuming messages from ActiveMQ broker. I want to know, when consumer does a negative acknowledgement for a message due to any error whether the failed message goes to its original position, head or tail of ActiveMQ.
I found out how it happens in RabbitMQ, but I am not able to find any such information on ActiveMQ. Looking for any pointers here.