当我运行独立的IBM MQ JMS客户端以发送和接收消息时。我收到以下回复消息和correlationshipID。
我发送到队列的消息:
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
我需要在数据库中存储消息ID和答复消息,但是我的疑问是如何从答复消息中获取匹配项(MSG ID 20)以存储在数据库中。是否可以从回复消息中获取。我很困惑。
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"
我将阅读并发送到队列,一旦得到答复,我需要根据MessageID更新回答复消息。所以有可能从回复消息中获取消息ID。 对不起,我的提问方式。在此先感谢