At the moment you can't, that advisory is triggered independent of the
transaction.
IMHO it is a reasonable expectation that it would be tied to the
commit processing,
but it may not be trivial to do that.
In any event, it is worth raising a jira issue to highlight your need
and capture the use case so that we can investigate a bit more.
If you have a junit test case, it will make the investigation easier :-)

On 28 January 2012 08:41, jdepping <depp...@commitwork.de> wrote:
> How to distinguish an Advisory Message "advisoryForConsumed" commit from
> rollback?
>
> I have a queue with Transaction.
> I see no difference between a commit or rollback in the advisory message.
> Which property distinguishes between both Advisory Messages?
>
> Or is there no difference?
>
> Do i need additional Advisory Topics to distinguish?
>
> Some Information of my environment:
> Verison ActiveMQ: 5.5.1.
> The Redelivery ist set to: redeliveryPolicy.setMaximumRedeliveries(0);
>
> --
> View this message in context: 
> http://activemq.2283324.n4.nabble.com/How-to-distinguish-an-Advisory-Message-advisoryForConsumed-commit-from-rollback-tp4335669p4335669.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
http://fusesource.com
http://blog.garytully.com

Reply via email to