activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brendan Long <bren...@realgo.com>
Subject Re: ActiveMQ: Advisory for MessageConsumed
Date Tue, 24 May 2011 20:28:42 GMT
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


Mime
View raw message