ORA-25240
multiple dequeue criteria specified in dequeue options
Cause
An attempt was made to dequeue by specifying more than one dequeue criteria in the dequeue options. Specify either a message ID or dequeue condition or the correlation ID, or neither.
Action
To dequeue a message, specify a message ID or a dequeue condition or a correlation ID in the dequeue options, but do not specify multiples of them together. If you want to dequeue in the queue's sort order, then do not specify either the message ID or dequeue condition or correlation ID in the dequeue options.
ORA-25240
message ID and dequeue condition/correlation ID specified in dequeue options
Cause
An attempt was made to dequeue by including both a message ID and a dequeue condition/correlation ID in the dequeue options. In the dequeue options, you are permitted to specify either message ID or dequeue condition/correlation ID, or neither.
Action
To dequeue a message, specify a message ID or a dequeue condition/correlation ID in the dequeue options, but do not specify both. If you want to dequeue in the queue's sort order, then do not specify either the message ID or dequeue condition/correlation ID in the dequeue options.
ORA-25240
message ID and dequeue condition/correlation ID specified in dequeue options
Cause
An attempt was made to dequeue by including both a message ID and a dequeue condition/correlation ID in the dequeue options. In the dequeue options, you are permitted to specify either message ID or dequeue condition/correlation ID, or neither.
Action
To dequeue a message, specify a message ID or a dequeue condition/correlation ID in the dequeue options, but do not specify both. If you want to dequeue in the queue's sort order, then do not specify either the message ID or dequeue condition/correlation ID in the dequeue options.