When trying to record a MQ service image, the recorder is unable to pass backend response to dynamic queue. Reason Code 2087 (MQRC_UNKNOWN_REMOTE_Q_MGR)

Document ID : KB000046457
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

When trying to record a MQ service image, the recorder is unable to pass backend response to Dynamic queue. Reason Code 2087 (MQRC_UNKNOWN_REMOTE_Q_MGR)

Error accessing queue <queue_name> with override QM <queue_manager> and options 10256, Completion Code 2 (MQCC_FAILED), Reason Code 2087 (MQRC_UNKNOWN_REMOTE_Q_MGR) 

The messages were stopping at the request channel and not being forwarded to the response channel defined in the VSE Recorder.

Environment:  

DevTest 9.x.

Cause: 

The client application was sending the message with a different replyTo queue manager.

Resolution:

Set the correct replyTo queue manager in the message.

Here is how the VSE recorder uses the message replyTo information:

The client sends a request to the Proxy Request Queue with whatever replyTo information it needs.

The VSE recorder will take that request and overwrite its replyTo information to match the Live Response Queue as defined in the recorder before forwarding the request to the Live Request Queue.

If the Live Request Queue and the Live Response Queue are on different queue managers, then the VSE recorder will automatically set the replyTo Queue Manager header as well as the replyTo Queue header.

When the VSE recorder receives the response on the Live Response Queue it will forward it back using the original request's replyTo information as received by the client.