By default, doesn't ActiveMQ use auto-acknowledge mode? If you change
that to "transacted", throwing an exception should make Spring roll back
the transaction.

On 05/24/2011 07:13 AM, Dejan Bosanac wrote:
> Hi,
>
> the advisory is sent when the message is acknowledged to the broker (as
> consumed). Not sure about your Spring setup but it seems that even if you
> throw an exception it will consider the message as successfully consumed.
>
>
> Regards

Reply via email to