This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pending Messages

 
Nidhi Juneja
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic