Created MQ VS using RR pairs and getting a NULL response when call is made from the JAVA application.
search cancel

Created MQ VS using RR pairs and getting a NULL response when call is made from the JAVA application.

book

Article ID: 401200

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Created an MQ virtual service using RR pairs with copybooks. Hit the virtual service from the JAVA application with JMS request and getting a NULL response but VSE shows correct match.

Environment

DevTest 10.7.2 and above.

Cause

The VS is created with IBM MQ Native protocol and application is sending a JMS request with MessageID which is not in the VS response caused the issue.

Resolution

In the VSM-->Respond step, enabled the Correlation Scheme and added the property lisa.ibmmq.Recv.MQMD.MessageId from the VSM-->Listen step resolved the NULL response issue. Application received the VS response successfully.