DefReadAhead (MQLONG)
Specifies the default read ahead behavior for non-persistent messages delivered to the client.
Local | Model | Alias | Remote | Cluster |
---|---|---|---|---|
X | X | X |
- MQREADA_NO
- Non-persistent messages are not sent ahead to the client before an applications requests them. A maximum of one non-persistent message can be lost if the client ends abnormally.
- MQREADA_YES
- Non-persistent messages are sent ahead to the client before an application requests them. Non-persistent messages can be lost if the client ends abnormally or if the client does not consume all the messages it is sent.
- MQREADA_DISABLED
- Read ahead of non-persistent messages in not enabled for this queue. Messages are not sent ahead to the client regardless of whether read ahead is requested by the client application.
To determine the value of this attribute, use the MQIA_DEF_READ_AHEAD selector with the MQINQ call.