Re: ActiveMQ: Advisory for MessageConsumed

2011-06-06 Thread karen
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread Gary Tully
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread karen
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-31 Thread karen
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-26 Thread Aneesh
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-24 Thread Brendan Long
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)

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-24 Thread karen
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

Re: ActiveMQ: Advisory for MessageConsumed

2011-05-24 Thread Dejan Bosanac
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 -