What exactly means NumMsgsHeldInTransaction and NumMsgsPendingAcks in JMS Destinations?
Sorry, if it is a very noob question but I have some problems using JMS.
I have some producers that obtain the JMS resources (Connection Factory and
Queue) using explicitly JNDI.
So I create a session using connection.createSession(false,
I assume that as I created the session with first parameter to false, no
transactions are involved and this is really the behaviour I need.
I have an iteration that basically change the object inside ObjectMessage:
And send the message
When monitoring using Jconsole I see the NumMsgs equals to zero while
NumMsgsPendingAcks and NumMsgsHeldInTransaction increases simultaneously.
For some reason, looks like the transacted==false are not being honored and
no msgs are being sent before the session is closed.
Could someone explain me better what exactly NumMsgsPendingAcks and
NumMsgsHeldInTransaction means? And which could be my problem?