I believe I have resolved my issue.  The trick is to use the CLIENT_ACKNOWLEDGE.  I 
believe the default is AUTO_ACKNOWLEDGE.

This should work with any subscriber, but for an MDB, I just needed to add 
<acknowledge-mode>CLIENT_ACKNOWLEDGE</acknowledge-mode> to my ejb-jar.xml, add a 
Message.acknowledge(); to my onMessage() within the MDB, and modify my creation of the 
session to be topicConnection.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE);

For more information, see the following links:

http://docs.jboss.org/admin-devel/Chap6.html
http://java.sun.com/j2ee/1.4/docs/api/javax/jms/Session.html#CLIENT_ACKNOWLEDGE

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853943#3853943

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853943


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to