Please help!!!
I would like to display the actual messageID from the message I put on the queue and the actual correlationID from the get message...they should be the same. When I attempt this command
System.out.println("put msg"+putmsg.messageId) ;
System.out.println("getmesg"+getmsg.correlationId)
I was told "you are displaying the object
reference (address) of the storage for the MsgId and CorrelId and not the values of these fields" but they did not tell me how to get the values and I am really new to java and mqseries.
Thanks for help in advance.
I would like to display the actual messageID from the message I put on the queue and the actual correlationID from the get message...they should be the same. When I attempt this command
System.out.println("put msg"+putmsg.messageId) ;
System.out.println("getmesg"+getmsg.correlationId)
I was told "you are displaying the object
reference (address) of the storage for the MsgId and CorrelId and not the values of these fields" but they did not tell me how to get the values and I am really new to java and mqseries.
Thanks for help in advance.