Issue on SOA Tool connecting to IMB MQ
Hi Team,
We are trying to connect to IBM MQ from SOA tool(2020.1), while running test cases, we are getting ": Test timed out after 60000 milliseconds."
we are setting configuration details as stated below.
hostname
channel
port
queuemanager
connectionfactory
provider url with bindings file
request queue
response queue
and also we used below dependency jars
com.ibm.mq.allclient-9.1.5.0.jar
fscontext.jar
providerutil.jar
Could you please help us to resolve this issue..
Thanks
Aruna
0
Comments
aande,
are you able to deliver message to request queue? Did you check it with any MQ monitoring request queue software?
Are you expecting message on response queue? If yes, did you check that expected message is on response queue?
--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html
For request-reply messaging pattern, where your client is configured to both put a request message and get a response message, please check:
A timeout here usually means that the client failed to find the response message within the timeout. The typical cause is that either the message never showed up within the timeout or that your correlation settings were never configured correctly. You need to know how request-response message correlation was implemented on your side. There is no one way of doing it. I'll describe some ways correlation is done but this is not something you can normally guess.
It is common to match the correlationId of response message with the messageId of request message. If this is the case, please check the following:
If you are correlating some other way then you would need to configure "MQGetMessageOptions.matchOptions" differently and not select "Match response correlationId with request messageId". For example, it is also possible to configure a fixed correlationId under "Put Messages > Other MQMD Fields" if you were matching correlationId of response with correlationId of request. However, it is common to match the correlationId of response message with the messageId of request as I first described.
If correlation is setup wrong then you may be picking up the response to someone else's request, or no message will correlate and your test will simply time out.