I have configured Oracle persistence with Jboss messaging and I have created the tables required for persistence in Oracle database. It appears to me that the messages are redelivered even after the messages are successfully received and processed by the consumer.
I believe that JMS_MESSAGES is the table which stores the JMS messages , now, when are the messages deleted from this table ? While I am sending a message, I am marking the message as persistent and creating a non-transacted session with Session.AUTO_ACKNOWLEDGE, Looking at the "STATE" column in the JMS_MESSAGES table, how can I verify if the messages are delivered successfully or they are waiting to be processed. In this particular case, all my messages have been marked "C" in the JMS_MESSAGES table. On server startup, my MessageListeners are picking up the messages again from the queue. Also does the 'MessageCount" in jmx-console indicate the total number of messages received at the queue or the number of messages yet to be processed ? Finally when is the acknowledgement sent in case when a Session is created with Session.AUTO_ACKNOWLEDGEMENT? My configuration: Jboss 4.0.3SP1 Jboss message 1.0.1 CR2 Oracle 10G View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955100#3955100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955100 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user