This illustration shows the use case Specify Default Time-To-Live for All Messages Sent by a Message Producer of the class MessageProducer in the JMS Operational Interface.

The method used is setTimeToLive, for all messages sent by a message producer.