search cancel

Set MQ Expire value

book

Article ID: 42249

calendar_today

Updated On:

Products

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

Issue/Introduction

Our Virtual Simulation is not setting the Expire value for a message dropped on the Queue. 

1) Does our simulation set the expire setting on the MQ message? 

2) how do I change it? 

 

Environment

All supported DevTest releases.

Cause

N/A

Resolution

With all JMS mode messages LISA uses a default 'Time To Live' (TTL) value of 30 minutes. 

The below property can be used to control JMS Time-To-Live: lisa.jms.ttl.milliseconds. 

lisa.jms.ttl.milliseconds=-1 ( the message never expires)