You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by jdepping <de...@commitwork.de> on 2012/01/28 09:41:04 UTC

How to distinguish an Advisory Message "advisoryForConsumed" commit from rollback?

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.

Re: How to distinguish an Advisory Message "advisoryForConsumed" commit from rollback?

Posted by jdepping <de...@commitwork.de>.
Thank you for your quick answer.

Best regards
Jürgen

--
View this message in context: http://activemq.2283324.n4.nabble.com/How-to-distinguish-an-Advisory-Message-advisoryForConsumed-commit-from-rollback-tp4335669p4340780.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to distinguish an Advisory Message "advisoryForConsumed" commit from rollback?

Posted by Gary Tully <ga...@gmail.com>.
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 <de...@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