About
Pricing
Community
Teams
Start Free Trial
Log in
dpalyca755
asked on
3/15/2012
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
Java
6
1
Last Comment
mccarl
8/22/2022 - Mon
CEHJ
3/15/2012
Looks like weblogic doesn't create an id. I can't tell you for sure since the api is apparently secret
dpalyca755
3/15/2012
ASKER
Is there a reference where you found that information I can see?
CEHJ
3/15/2012
What information? Your code clearly shows what happens (doesn't happen)
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
dpalyca755
3/15/2012
ASKER
I checked the disabled flag and its set to false.
CEHJ
3/15/2012
Sorry - i don't understand
ASKER CERTIFIED SOLUTION
mccarl
3/15/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.