dpalyca755
asked on
trouble getting the jmsMessageID
I am trying to retrieve the messageID after creating a TextMessage from the QueueSession.
The call to getJMSMessageID() on the resulting message returns null.
Any ideas?
Code example below:
try {
System.out.println("QueueS ession = " + qsess.toString());
message = qsess.createTextMessage();
msgId = message.getJMSMessageID();
System.out.println("msgID: = " + msgId);
}
Debug output:
QueueSession = weblogic.jms.client.WLSess ionImpl@af a68a
msgID:= null
The call to getJMSMessageID() on the resulting message returns null.
Any ideas?
Code example below:
try {
System.out.println("QueueS
message = qsess.createTextMessage();
msgId = message.getJMSMessageID();
System.out.println("msgID:
}
Debug output:
QueueSession = weblogic.jms.client.WLSess
msgID:= null
Looks like weblogic doesn't create an id. I can't tell you for sure since the api is apparently secret
ASKER
Is there a reference where you found that information I can see?
What information? Your code clearly shows what happens (doesn't happen)
ASKER
I checked the disabled flag and its set to false.
Sorry - i don't understand
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.