-
1. Re: Messages do not get deleted from topic, even after being
jaikiran May 31, 2006 5:24 AM (in response to smitadd)Whats the acknowledgement mode specified on the session. Usualy, it is AUTO_ACKNOWLEDGE. Looks like the message consumption is NOT being acknowledged leading to re-delivery of the message
-
2. Re: Messages do not get deleted from topic, even after being
smitadd May 31, 2006 5:29 AM (in response to smitadd)Hi jaikiran
The acknowledge mode is set to AUTO_ACKNOWLEDGE only
this is the code from my ejb-jar.xml of MDB
<message-driven>
<ejb-name>LogTopicMDB</ejb-name>
<ejb-class>com.mobio.srv.logging.mdb.LogTopicMDB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
<subscription-durability>Durable</subscription-durability>
</message-driven-destination>
<resource-ref>
<res-ref-name>jms/TCF</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
I m using jboss 4.0.3SP1
thx