public class AmqpRejectAndDontRequeueException extends AmqpException
| Constructor and Description |
|---|
AmqpRejectAndDontRequeueException(java.lang.String message)
Construct an instance with the supplied argument.
|
AmqpRejectAndDontRequeueException(java.lang.String message,
boolean rejectManual,
java.lang.Throwable cause)
Construct an instance with the supplied arguments.
|
AmqpRejectAndDontRequeueException(java.lang.String message,
java.lang.Throwable cause)
Construct an instance with the supplied arguments.
|
AmqpRejectAndDontRequeueException(java.lang.Throwable cause)
Construct an instance with the supplied argument.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRejectManual()
True if the container should reject the message, even with manual acks.
|
public AmqpRejectAndDontRequeueException(java.lang.String message)
message - A message describing the problem.public AmqpRejectAndDontRequeueException(java.lang.Throwable cause)
cause - the cause.public AmqpRejectAndDontRequeueException(java.lang.String message,
java.lang.Throwable cause)
message - A message describing the problem.cause - the cause.public AmqpRejectAndDontRequeueException(@Nullable
java.lang.String message,
boolean rejectManual,
@Nullable
java.lang.Throwable cause)
message - A message describing the problem.rejectManual - true to reject the message, even with Manual Acks if this is
the top-level exception (e.g. thrown by an error handler).cause - the cause.