Package org.springframework.amqp.rabbit.core
Provides core classes for Spring Rabbit.
-
Interface Summary Interface Description ChannelCallback<T> Basic callback for use in RabbitTemplate.CorrelationDataPostProcessor A callback invoked immediately before publishing a message to update, replace, or create correlation data for publisher confirms.RabbitMessageOperations A specialization ofMessageSendingOperations
andMessageRequestReplyOperations
for AMQP related operations that allow to specify not only the exchange but also the routing key to use.RabbitOperations Rabbit specific methods for Amqp functionality.RabbitOperations.OperationsCallback<T> Callback for using the same channel for multiple RabbitTemplate operations.RabbitTemplate.ConfirmCallback A callback for publisher confirmations.RabbitTemplate.ReturnCallback Deprecated. in favor ofRabbitTemplate.ReturnCallback.returnedMessage(ReturnedMessage)
which is easier to use with lambdas.RabbitTemplate.ReturnsCallback A callback for returned messages. -
Class Summary Class Description BatchingRabbitTemplate ARabbitTemplate
that permits batching individual messages into a larger message.BrokerEvent Represents a broker event generated by the Event Exchange Plugin (https://www.rabbitmq.com/event-exchange.html).BrokerEventListener When the event-exchange-plugin is enabled (see https://www.rabbitmq.com/event-exchange.html), if an object of this type is declared as a bean, selected events will be published asBrokerEvent
s.DeclarationExceptionEvent Application event published when a declaration exception occurs.DeclareExchangeConnectionListener AConnectionListener
that will declare a single exchange when the connection is established.RabbitAdmin RabbitMQ implementation of portable AMQP administrative operations for AMQP >= 0.9.1.RabbitAdminEvent Base class for admin events.RabbitGatewaySupport Convenient super class for application classes that need RabbitMQ access.RabbitMessagingTemplate An implementation ofRabbitMessageOperations
.RabbitTemplate Helper class that simplifies synchronous RabbitMQ access (sending and receiving messages).RabbitTemplate.TemplateConsumer AddsRabbitTemplate.TemplateConsumer.toString()
to theDefaultConsumer
. -
Exception Summary Exception Description AmqpNackReceivedException An exception thrown when a negative acknowledgement received after publishing a message.ConsumeOkNotReceivedException Thrown when a blocking receive operation is performed but the consumeOk was not received before the receive timeout.