Hi Gary,
Thanks for replying.
I have logged a Jira for the issue:
https://issues.apache.org/jira/browse/AMQ-3361
thanks
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-Advisory-for-MessageConsumed-tp3547010p3578728.html
Sent from the ActiveMQ - User mailing list
That seems like a bug. Can you open an issue with your test case. The
advisory should be conditional on success of the transaction.
On 31 May 2011 19:22, "karen" wrote:
> Hi Brendan,
>
> I have set the listener container to session transacted. When an exception
> is thrown in the listener, then sp
Hi Brendan,
I have set the listener container to session transacted. When an exception
is thrown in the listener, then spring rolls back the transaction.
But the problem is that an advisory message is still sent to the consumed
advisory topic( before the rollback). Thus giving an incorrect indica
Hi Aneesh
There are many kinds of advisory messages that u can set up. Check this site
out:-
http://activemq.apache.org/advisory-message.html
These are messages that activeMQ sends to specific topics about information
on the producer/consumer etc. All you need to do is update the activemq conf
f
HI Karen
Am also having a reqmt to work with the Advisory messages.
Am pretty new to ActiveMQ and doesnt even know how to start with.
Am also using the DefautMessageListenerContainer of Spring.
I have already posted another query in the forum asking help for how to
start with Advisory.
Could you h
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)
Hi Dejan
Thanks for replying. So it seems advisory for consumed isnt going to serve
the purpose of tracking consumed messages.
Is there any way of approach that might help in tracking successfully
consumed messages...
Thanks alot
--
View this message in context:
http://activemq.2283324.n4.nabb
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
--
Dejan Bosanac - http://twitter.com/dejanb
-