activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: ActiveMQ RA and client acknowledge in a message-driven bean
Date Wed, 21 Apr 2010 09:03:55 GMT
Use a transacted delivery in your endpoint activation and throw an exception
from onMessage. if you have the source, take a peek at this test:

On 21 April 2010 06:02, Ivan Pechorin <> wrote:

> Hello!
> I use JBoss, ActiveMQ resource adapter (RA), and a message-driven bean
> (MDB) with a persistent queue.
> I need to be able to leave a message in queue if something bad
> happened inside method onMessage() of my MDB.
> The question is how to achieve it?
> I looked into the source of ActiveMQ RA, and it looks like it doesn't
> AUTO_ACKNOWLEDGE are supported.
> P.S. Any help of link to proper piece of documentation is highly
> appreciated (I failed to find it).
> Best regards, Ivan


Open Source Integration

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