Avatar of dpalyca755
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("QueueSession = " + qsess.toString());
                      message = qsess.createTextMessage();
                      msgId = message.getJMSMessageID();
                      System.out.println("msgID:= " + msgId);
                }

Debug output:
QueueSession = weblogic.jms.client.WLSessionImpl@afa68a
msgID:= null
Java

Avatar of undefined
Last Comment
mccarl

8/22/2022 - Mon
CEHJ

Looks like weblogic doesn't create an id. I can't tell you for sure since the api is apparently secret
dpalyca755

ASKER
Is there a reference where you found that information I can see?
CEHJ

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

ASKER
I checked the disabled flag and its set to false.
CEHJ

Sorry - i don't understand
ASKER CERTIFIED SOLUTION
mccarl

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.