Uses of Interface
org.springframework.amqp.core.ReceiveAndReplyCallback
Package
Description
Provides core classes for the spring AMQP abstraction.
Provides core classes for Spring Rabbit.
-
Uses of ReceiveAndReplyCallback in org.springframework.amqp.core
Modifier and TypeInterfaceDescriptioninterface
Message
exchanging contract ofReceiveAndReplyCallback
.Modifier and TypeMethodDescription<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
. -
Uses of ReceiveAndReplyCallback in org.springframework.amqp.rabbit.core
Modifier and TypeMethodDescription<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)