When I run the standalone IBM MQ JMS client to send and receive the message. I got the below reply message and the correlationID.
The message I send to the Queue:
REQUEST(SER,10,TEST,MSGID,20 ..
I got the Reply message as below:
REPLY(MSGID,20,DTO0240,SER,10,TEST
correalationID
after sending a message we get message id
ID:414d51204243573032413154202020205bc6bd3e254d4820
I need to store the Message ID and the reply message in the Data base but My doubt is how to get the Matching (MSG ID 20) from the reply message to store in the database . Is it possible to get from the reply message. I got confusion.
When I store in the DB do I store only the correalation ID
(ID:414d51204243573032413154202020205bc6bd3e254d4820) only possible.
MY DB has column:
MessageID requestMessage replymessage and Flag. Based on Flag "N"
I will read and send to the Queue and once I got reply i need to update back the reply message based on MessageID. so Is it possible to get the Message ID from the reply message. Sorry for my way of asking questions. Thanks in Advance