AMQP Specification Transport
AMQP Specification Transport
AMQP Specification Transport
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>AMQP</strong> <strong>Specification</strong>.<br />
Link<br />
5.14.4 Command: 0x0309 (reject message transfers)<br />
Signature: reject( options: map, first: sequence-no, last: sequence-no, reject-properties: map )<br />
The reject command is used to indicate that incoming messages are invalid and therefore unprocessable. Any<br />
message whose first incoming transfer falls within the specified incoming command range is considered<br />
rejected. Continuation transfers within the rejection range are ignored. For this command to have any effect,<br />
it MUST be sent before the identified transfers are acknowledged. If an attempt to transfer a message results<br />
in a reject from the recipient, the sender should add the supplied reject-properties to the message header, and<br />
make the message available at an alternative node (e.g. a dead letter queue).<br />
Field Details:<br />
options: map<br />
options map (optional)<br />
first: sequence-no<br />
(required)<br />
The start of the incoming command range.<br />
last: sequence-no<br />
(optional)<br />
The end of the incoming command range. If not set then this is taken to be the same as first.<br />
reject-properties: map<br />
(optional)<br />
The map supplied in this field will be placed in any rejected message headers under the key<br />
"reject-properties".<br />
<strong>AMQP</strong> <strong>Transport</strong> v. 1-0 Page 58 of 83