search cancel

MQ VS from RR pairs, metadata throws error 2013

book

Article ID: 42141

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

MQ VS throws error 2013 on "msg.expiry set to 0" and error 2250 on "msg.messageSequenceNumber set to 0"

 

Cause

N/A

Environment

All supported DevTest releases.

Resolution

When creating a VS from RR pairs based on the new MQ transport protocol, the response meta data contains errors that prevent the VS from properly sending out the reply. The msg headers:

msg.expiry set to 0 => triggers error 2013 with queue manager, should be >0 

msg.messageSequenceNumber set to 0 => gives error 2250 => this should be at least 1

 

In the MQMessage specification, there are five fields that are not filled in with the correct "default" values. Setting the below values in VSI-->Response-->Metadata will take resolve the above errors

msg.expiry=-1

msg.messageSequenceNumber=1

msg. originalLength=-1

msg.persistence=2

msg.priority=-1