Uses of Class
org.springframework.amqp.AmqpException
Package
Description
Base package for Spring AMQP.
Provides core classes for the spring AMQP abstraction.
Provides classes related to connections.
Provides core classes for Spring Rabbit.
Provides classes for message listener containers.
Provides classes for adapting listeners.
Provides classes for listener exceptions.
Provides support classes for Spring Rabbit.
Provides classes for supporting message conversion.
Package for Spring AMQP message post processors.
Provides classes for stream producers.
-
Uses of AmqpException in org.springframework.amqp
Modifier and TypeClassDescriptionclass
Thrown when the connection factory has been destroyed during context close; the factory can no longer open connections.class
Runtime wrapper for an authentication exception.class
RuntimeException wrapper for anConnectException
which can be commonly thrown from AMQP operations if the remote process dies or there is a network issue.class
Equivalent of an IllegalStateException but within the AmqpException hierarchy.class
RuntimeException wrapper for anIOException
which can be commonly thrown from AMQP operations.class
Exception for listener implementations used to indicate the basic.reject will be sent with requeue=false in order to enable features such as DLQ.class
An exception that wraps an exception thrown by the server in a request/reply scenario.class
TheAmqpException
thrown when some resource can't be accessed.class
Exception thrown when some time-bound operation fails to execute in the desired time.class
RuntimeException for unsupported encoding in an AMQP operation.class
Special exception for listener implementations that want to signal that the current batch of messages should be acknowledged immediately (i.e.class
The specialAmqpException
to be thrown from the listener (e.g.class
A "catch-all" exception type within the AmqpException hierarchy when no more specific cause is known. -
Uses of AmqpException in org.springframework.amqp.core
Modifier and TypeClassDescriptionclass
Exception thrown if the request message cannot be delivered when the mandatory flag is set.class
Async reply timeout.Modifier and TypeMethodDescriptionvoid
AmqpTemplate.convertAndSend
(Object message) Convert a Java object to an AmqpMessage
and send it to a default exchange with a default routing key.void
AmqpTemplate.convertAndSend
(Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessage
and send it to a default exchange with a default routing key.void
AmqpTemplate.convertAndSend
(String routingKey, Object message) Convert a Java object to an AmqpMessage
and send it to a default exchange with a specific routing key.void
AmqpTemplate.convertAndSend
(String routingKey, Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessage
and send it to a default exchange with a specific routing key.void
AmqpTemplate.convertAndSend
(String exchange, String routingKey, Object message) Convert a Java object to an AmqpMessage
and send it to a specific exchange with a specific routing key.void
AmqpTemplate.convertAndSend
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor) Convert a Java object to an AmqpMessage
and send it to a specific exchange with a specific routing key.AmqpTemplate.convertSendAndReceive
(Object message) Basic RPC pattern with conversion.AmqpTemplate.convertSendAndReceive
(Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.AmqpTemplate.convertSendAndReceive
(String routingKey, Object message) Basic RPC pattern with conversion.AmqpTemplate.convertSendAndReceive
(String routingKey, Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.AmqpTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message) Basic RPC pattern with conversion.AmqpTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(Object message, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
AmqpTemplate.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.MessagePostProcessor.postProcessMessage
(Message message) Change (or replace) the message.AmqpTemplate.receive()
Receive a message if there is one from a default queue.AmqpTemplate.receive
(long timeoutMillis) Receive a message from a default queue, waiting up to the specified wait time if necessary for a message to become available.Receive a message if there is one from a specific queue.Receive a message from a specific queue, waiting up to the specified wait time if necessary for a message to become available.AmqpTemplate.receiveAndConvert()
Receive a message if there is one from a default queue and convert it to a Java object.AmqpTemplate.receiveAndConvert
(long timeoutMillis) Receive a message if there is one from a default queue and convert it to a Java object.<T> T
AmqpTemplate.receiveAndConvert
(long timeoutMillis, ParameterizedTypeReference<T> type) Receive a message if there is one from a default queue and convert it to a Java object.AmqpTemplate.receiveAndConvert
(String queueName) Receive a message if there is one from a specific queue and convert it to a Java object.AmqpTemplate.receiveAndConvert
(String queueName, long timeoutMillis) Receive a message if there is one from a specific queue and convert it to a Java object.<T> T
AmqpTemplate.receiveAndConvert
(String queueName, long timeoutMillis, ParameterizedTypeReference<T> type) Receive a message if there is one from a specific queue and convert it to a Java object.<T> T
AmqpTemplate.receiveAndConvert
(String queueName, ParameterizedTypeReference<T> type) Receive a message if there is one from a specific queue and convert it to a Java object.<T> T
AmqpTemplate.receiveAndConvert
(ParameterizedTypeReference<T> type) Receive a message if there is one from a default queue and convert it to a Java object.<R,
S> boolean AmqpTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback) Receive a message if there is one from provided queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to thereplyTo
Address
fromMessageProperties
or to default exchange and default routingKey.<R,
S> boolean AmqpTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback, String replyExchange, String replyRoutingKey) Receive a message if there is one from provided queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to the providedexchange
androutingKey
.<R,
S> boolean AmqpTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback, ReplyToAddressCallback<S> replyToAddressCallback) Receive a message if there is one from provided queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to thereplyTo
Address
from result ofReplyToAddressCallback
.<R,
S> boolean AmqpTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback) Receive a message if there is one from a default queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to thereplyTo
Address
fromMessageProperties
or to default exchange and default routingKey.<R,
S> boolean AmqpTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback, String replyExchange, String replyRoutingKey) Receive a message if there is one from default queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to the providedexchange
androutingKey
.<R,
S> boolean AmqpTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback, ReplyToAddressCallback<S> replyToAddressCallback) Receive a message if there is one from a default queue, invoke providedReceiveAndReplyCallback
and send reply message, if thecallback
returns one, to thereplyTo
Address
from result ofReplyToAddressCallback
.void
Send a message to a specific exchange with a specific routing key.void
Send a message to a default exchange with a specific routing key.void
Send a message to a default exchange with a default routing key.AmqpTemplate.sendAndReceive
(String exchange, String routingKey, Message message) Basic RPC pattern.AmqpTemplate.sendAndReceive
(String routingKey, Message message) Basic RPC pattern.AmqpTemplate.sendAndReceive
(Message message) Basic RPC pattern. -
Uses of AmqpException in org.springframework.amqp.rabbit.connection
Modifier and TypeClassDescriptionclass
Represents a failure to commit or rollback when performing afterCompletion after the primary transaction completes.class
An exception thrown if the connection is an auto recover connection that is not currently open and is in the process of being recovered.Modifier and TypeMethodDescriptionvoid
Connection.close()
Close this connection and all its channels with theAMQP.REPLY_SUCCESS
close code and message 'OK'.void
RabbitResourceHolder.commitAll()
com.rabbitmq.client.Channel
Connection.createChannel
(boolean transactional) Create a new channel, using an internally allocated channel number.AbstractRoutingConnectionFactory.createConnection()
final Connection
CachingConnectionFactory.createConnection()
ConnectionFactory.createConnection()
LocalizedQueueConnectionFactory.createConnection()
PooledChannelConnectionFactory.createConnection()
ThreadChannelConnectionFactory.createConnection()
-
Uses of AmqpException in org.springframework.amqp.rabbit.core
Modifier and TypeClassDescriptionclass
An exception thrown when a negative acknowledgement received after publishing a message.class
Thrown when a blocking receive operation is performed but the consumeOk was not received before the receive timeout.Modifier and TypeMethodDescriptionvoid
RabbitOperations.convertAndSend
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a default exchange with a default routing key.void
RabbitOperations.convertAndSend
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a default exchange with a specific routing key.void
RabbitOperations.convertAndSend
(String routingKey, Object message, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a default exchange with a specific routing key.void
RabbitOperations.convertAndSend
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a specific exchange with a specific routing key.void
RabbitOperations.convertAndSend
(String exchange, String routingKey, Object message, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a specific exchange with a specific routing key.void
RabbitTemplate.convertAndSend
(Object object) void
RabbitTemplate.convertAndSend
(Object message, MessagePostProcessor messagePostProcessor) void
RabbitTemplate.convertAndSend
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) void
RabbitTemplate.convertAndSend
(String routingKey, Object object) void
RabbitTemplate.convertAndSend
(String routingKey, Object message, MessagePostProcessor messagePostProcessor) void
RabbitTemplate.convertAndSend
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) void
RabbitTemplate.convertAndSend
(String routingKey, Object object, CorrelationData correlationData) void
RabbitTemplate.convertAndSend
(String exchange, String routingKey, Object object) void
RabbitTemplate.convertAndSend
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor) void
RabbitTemplate.convertAndSend
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) void
RabbitTemplate.convertAndSend
(String exchange, String routingKey, Object object, CorrelationData correlationData) RabbitOperations.convertSendAndReceive
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitOperations.convertSendAndReceive
(Object message, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitOperations.convertSendAndReceive
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitOperations.convertSendAndReceive
(String routingKey, Object message, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitOperations.convertSendAndReceive
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitOperations.convertSendAndReceive
(String exchange, String routingKey, Object message, CorrelationData correlationData) Basic RPC pattern with conversion.RabbitTemplate.convertSendAndReceive
(Object message) RabbitTemplate.convertSendAndReceive
(Object message, MessagePostProcessor messagePostProcessor) RabbitTemplate.convertSendAndReceive
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) RabbitTemplate.convertSendAndReceive
(Object message, CorrelationData correlationData) RabbitTemplate.convertSendAndReceive
(String routingKey, Object message) RabbitTemplate.convertSendAndReceive
(String routingKey, Object message, MessagePostProcessor messagePostProcessor) RabbitTemplate.convertSendAndReceive
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) RabbitTemplate.convertSendAndReceive
(String routingKey, Object message, CorrelationData correlationData) RabbitTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message) RabbitTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor) RabbitTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData) RabbitTemplate.convertSendAndReceive
(String exchange, String routingKey, Object message, CorrelationData correlationData) <T> T
RabbitOperations.convertSendAndReceiveAsType
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
RabbitOperations.convertSendAndReceiveAsType
(Object message, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
RabbitOperations.convertSendAndReceiveAsType
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
RabbitOperations.convertSendAndReceiveAsType
(String routingKey, Object message, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
RabbitOperations.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.default <T> T
RabbitOperations.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) Basic RPC pattern with conversion.<T> T
RabbitTemplate.convertSendAndReceiveAsType
(Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(Object message, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(Object message, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String routingKey, Object message, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, CorrelationData correlationData, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, MessagePostProcessor messagePostProcessor, ParameterizedTypeReference<T> responseType) <T> T
RabbitTemplate.convertSendAndReceiveAsType
(String exchange, String routingKey, Object message, ParameterizedTypeReference<T> responseType) void
RabbitOperations.correlationConvertAndSend
(Object message, CorrelationData correlationData) Convert a Java object to an AmqpMessage
and send it to a default exchange with a default routing key.void
RabbitTemplate.correlationConvertAndSend
(Object object, CorrelationData correlationData) <T> T
RabbitOperations.execute
(ChannelCallback<T> action) Execute the callback with a channel and reliably close the channel afterwards.default <T> T
RabbitOperations.invoke
(RabbitOperations.OperationsCallback<T> action) Invoke the callback and run all operations on the template argument in a dedicated thread-bound channel and reliably close the channel afterwards.RabbitTemplate.receive()
RabbitTemplate.receive
(long timeoutMillis) RabbitTemplate.receiveAndConvert()
RabbitTemplate.receiveAndConvert
(long timeoutMillis) <T> T
RabbitTemplate.receiveAndConvert
(long timeoutMillis, ParameterizedTypeReference<T> type) RabbitTemplate.receiveAndConvert
(String queueName) RabbitTemplate.receiveAndConvert
(String queueName, long timeoutMillis) <T> T
RabbitTemplate.receiveAndConvert
(String queueName, long timeoutMillis, ParameterizedTypeReference<T> type) <T> T
RabbitTemplate.receiveAndConvert
(String queueName, ParameterizedTypeReference<T> type) <T> T
RabbitTemplate.receiveAndConvert
(ParameterizedTypeReference<T> type) <R,
S> boolean RabbitTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback) <R,
S> boolean RabbitTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback, String replyExchange, String replyRoutingKey) <R,
S> boolean RabbitTemplate.receiveAndReply
(String queueName, ReceiveAndReplyCallback<R, S> callback, ReplyToAddressCallback<S> replyToAddressCallback) <R,
S> boolean RabbitTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback) <R,
S> boolean RabbitTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback, String exchange, String routingKey) <R,
S> boolean RabbitTemplate.receiveAndReply
(ReceiveAndReplyCallback<R, S> callback, ReplyToAddressCallback<S> replyToAddressCallback) void
BatchingRabbitTemplate.send
(String exchange, String routingKey, Message message, CorrelationData correlationData) void
RabbitOperations.send
(String exchange, String routingKey, Message message, CorrelationData correlationData) Send a message to a specific exchange with a specific routing key.default void
RabbitOperations.send
(String routingKey, Message message, CorrelationData correlationData) Send a message to the default exchange with a specific routing key.void
void
RabbitTemplate.send
(String exchange, String routingKey, Message message, CorrelationData correlationData) void
void
RabbitTemplate.send
(String routingKey, Message message, CorrelationData correlationData) void
RabbitTemplate.sendAndReceive
(String exchange, String routingKey, Message message) RabbitTemplate.sendAndReceive
(String exchange, String routingKey, Message message, CorrelationData correlationData) RabbitTemplate.sendAndReceive
(String routingKey, Message message) RabbitTemplate.sendAndReceive
(String routingKey, Message message, CorrelationData correlationData) RabbitTemplate.sendAndReceive
(Message message) RabbitTemplate.sendAndReceive
(Message message, CorrelationData correlationData) boolean
RabbitOperations.waitForConfirms
(long timeout) Delegate to the underlying dedicated channel to wait for confirms.void
RabbitOperations.waitForConfirmsOrDie
(long timeout) Delegate to the underlying dedicated channel to wait for confirms. -
Uses of AmqpException in org.springframework.amqp.rabbit.listener
Modifier and TypeClassDescriptionclass
This exception indicates that a consumer could not be started because none of its queues are available for listening. -
Uses of AmqpException in org.springframework.amqp.rabbit.listener.adapter
Modifier and TypeClassDescriptionclass
Exception to be thrown when the reply of a message failed to be sent. -
Uses of AmqpException in org.springframework.amqp.rabbit.listener.exception
Modifier and TypeClassDescriptionclass
Exception to be thrown when the execution of a listener method failed with an irrecoverable problem.class
Exception to be thrown when the execution of a listener method failed on startup.class
Exception class that indicates a rejected message on shutdown. -
Uses of AmqpException in org.springframework.amqp.rabbit.support
Modifier and TypeClassDescriptionclass
Exception to be thrown when the execution of a listener method failed. -
Uses of AmqpException in org.springframework.amqp.support.converter
Modifier and TypeClassDescriptionclass
Exception to be thrown by message converters if they encounter a problem with converting a message or object. -
Uses of AmqpException in org.springframework.amqp.support.postprocessor
Modifier and TypeMethodDescriptionAbstractCompressingPostProcessor.postProcessMessage
(Message message) AbstractDecompressingPostProcessor.postProcessMessage
(Message message) DelegatingDecompressingPostProcessor.postProcessMessage
(Message message) -
Uses of AmqpException in org.springframework.rabbit.stream.producer
Modifier and TypeClassDescriptionclass
Used to complete the future exceptionally when sending fails.