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 support CLIENT_ACKNOWLEDGE mode. Only DUPS_OK_ACKNOWLEDGE and 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