READAHEADALLOWED

This property determines whether message consumers and queue browsers are allowed to use read ahead to get nonpersistent messages from this destination into an internal buffer before receiving them.

Applicable Objects

Queue, Topic

JMS administration tool long name: READAHEADALLOWED

JMS administration tool short name: RAALD

Programmatic access

Setters/getters

  • MQDestination.setReadAheadAllowed()
  • MQDestination.getReadAheadAllowed()

Values

AS_DEST
Determine whether read ahead is allowed by referring to the queue or topic definition. This is the default value in administrative tools.
Use WMQConstants.WMQ_READ_AHEAD_ALLOWED_AS_DEST in programs.
AS_Q_DEF
Determine whether read ahead is allowed by referring to the queue definition.
Use WMQConstants.WMQ_READ_AHEAD_ALLOWED_AS_Q_DEF in programs.
AS_TOPIC_DEF
Determine whether read ahead is allowed by referring to the topic definition.
Use WMQConstants.WMQ_READ_AHEAD_ALLOWED_AS_TOPIC_DEF in programs.
NO
Read ahead is not allowed.
Use WMQConstants.WMQ_READ_AHEAD_ALLOWED_DISABLED in programs.
YES
Read ahead is allowed.
Use WMQConstants.WMQ_READ_AHEAD_ALLOWED_ENABLED in programs.