public final class AmqpReject extends Object
AmqpMessage.| Constructor and Description |
|---|
AmqpReject() |
| Modifier and Type | Method and Description |
|---|---|
void |
reject(String ackId,
boolean requeue)
Operation that allows the user to reject a delivered
AmqpMessage. |
@Throws(value=AmqpRejectErrorTypeProvider.class) public void reject(@Summary(value="Deliver Tag of the message to be rejected") String ackId, @Summary(value="Indicates whether the rejected message has to be requeued") boolean requeue) throws AmqpExtensionException
AmqpMessage.ackId - delivery tag of the message to be rejectedrequeue - Indicates whether the rejected message has to be requeuedAmqpExtensionException - if an error occursCopyright © 2023 MuleSoft, Inc.. All rights reserved.