AmqpMessage.rejected

When receiving a message, and when auto-acknowledgement is disabled, this method is used to acknowledge the incoming message as {@code rejected}.

@return the current {@link AmqpMessage} object @throws IllegalStateException is the current message is not a received message.

interface AmqpMessage
rejected
()

Meta