Forum Discussion
Hi taibc,
Thank you for your post. The response which you get will depend on what you get in the queue at the moment.
For example, if your queue is empty, and, then, you run this test step in ReadyAPI:
jms://SmartOTP_EMS::queue_vn.smartotp_gw.1.0::queue_vn.smartotp_gw.1.0
you will get the same message as you have in the request.
But, if you have the "Another message" in the queue and you run the same test step in ReadyAPI, you will get the "Another message" as a response. And, the Request message will stay in the queue until someone gets it from there.
Nastya_Khovrina : Thank you,
As you said: "The response which you get will depend on what you get in the queue at the moment.".
How can I config to sure that I get the correct response content (I don't want to receive another message). In soapui, we can use JMSCorrelationID for this ?
- Nastya_Khovrina6 years agoSmartBear Alumni (Retired)
taibc,
Yes, you can use the JMSCorrelationID header for this.
- taibc6 years agoOccasional Contributor
Nastya_Khovrina Could you please send me a demo for using JMSCorrelationID header with the same queue (send/receive)
- Nastya_Khovrina6 years agoSmartBear Alumni (Retired)
Hi taibc,
Unfortunately, we don't have a ready example at hand. Maybe the following articles will be useful for you:
- https://docs.oracle.com/html/E13943_04/WebLogic.Messaging.IMessage.JMSCorrelationID.html
- https://www-01.ibm.com/support/docview.wss?uid=swg21440780
- https://stackoverflow.com/questions/23299147/how-to-set-jmsmessageid-and-jmscorrelationid-properly
Related Content
- 11 months ago
- 11 years ago
Recent Discussions
- 5 days ago
- 10 days ago