MSGRETENTION

Whether the connection consumer keeps undelivered messages on the input queue.

Applicable Objects

ConnectionFactory, QueueConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory,

JMS administration tool long name: MSGRETENTION

JMS administration tool short name: MRET

Programmatic access

Setters/getters

  • MQConnectionFactory.setMessageRetention()
  • MQConnectionFactory.getMessageRetention()

Values

Yes
Undelivered messages remain on the input queue. This is the default value.
No
Undelivered messages are dealt with according to their disposition options.