public class ManualAckListenerExecutionFailedException extends ListenerExecutionFailedException
ListenerExecutionFailedException enhanced with the channel and delivery tag.
Used for conversion errors when using manual acks.| Constructor and Description |
|---|
ManualAckListenerExecutionFailedException(String msg,
Throwable cause,
com.rabbitmq.client.Channel channel,
long deliveryTag,
Message... failedMessages)
Construct an instance with the provided properties.
|
ManualAckListenerExecutionFailedException(String msg,
Throwable cause,
Message failedMessage,
com.rabbitmq.client.Channel channel,
long deliveryTag)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
com.rabbitmq.client.Channel |
getChannel()
Return the channel.
|
long |
getDeliveryTag()
Return the delivery tag for the last failed message.
|
getFailedMessage, getFailedMessagesaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString@Deprecated public ManualAckListenerExecutionFailedException(String msg, Throwable cause, Message failedMessage, com.rabbitmq.client.Channel channel, long deliveryTag)
ManualAckListenerExecutionFailedException(String, Throwable, Channel, long, Message...).msg - the exception message.cause - the cause.failedMessage - the failed message.channel - the channel.deliveryTag - the delivery tag for the message.public ManualAckListenerExecutionFailedException(String msg, Throwable cause, com.rabbitmq.client.Channel channel, long deliveryTag, Message... failedMessages)
msg - the exception message.cause - the cause.channel - the channel.deliveryTag - the delivery tag for the last message.failedMessages - the failed message(s).