Hi All, Need to have some clarification on the acknowledge-mode. In my application I have a MDB which publishes to a topic ( say TOPIC-A ). While creating the TopicSession I pass the acknowledgement mode as Session.AUTO_ACKNOWLEDGE and I commit the session after publishing. The MDB is container managed transaction.
There are 2 subscribers of this topic 1) MDB (which also has container managed transaction )and 2) JMS Subscriber
When I look in weblogic console for the details for TOPIC-A, it increments the 'Message Pending' everytime I send a message, although i can see all the messages being consumed and none is lost. And as per BEA Pending means the message could have been: * sent in a transaction but not committed. * received and not acknowledged. * received and not committed. * subject to a redelivery delay (as of WebLogic JMS 6.1 or later). * subject to a delivery time (as of WebLogic JMS 6.1 or later).
Can anybody shed some light on why it is happening. Thanks, Nidhi