activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Kleineikenscheidt (K15t Software)" <>
Subject Re: ActiveMQ RA: how to make MDB with CLIENT_ACKNOWLEDGE?
Date Mon, 19 Apr 2010 12:35:15 GMT
Hi Ivan,

the acknowledge is up to the container in case of MDBs.  Your onMessage()
method "acknowledges" the message by returning without throwing an
exception. Also the other way round: just throw an exception, and the
container will not acknowledge the message (an try to redeliver it).


On Mon, Apr 19, 2010 at 2:25 PM, Ivan Pechorin <>wrote:

> Hello
> We have a message-driven bean in JBoss with ActiveMQ resource adapter (RA).
> It seems like ActiveMQ RA doesn't support CLIENT_ACKNOWLEDGE mode. It
> Basically, I need to be able to leave a message in queue if something bad
> happened inside method onMessage() of my MDB. How can I achieve this?
> P.S. Any help of link to proper piece of documentation is highly
> appreciated
> (I failed to find it).
> Best regards, Ivan
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message