Package | Description |
---|---|
org.springframework.amqp.core |
Provides core classes for the spring AMQP abstraction.
|
org.springframework.amqp.rabbit.core |
Provides core classes for Spring Rabbit.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ReceiveAndReplyMessageCallback
Message exchanging contract of ReceiveAndReplyCallback . |
Modifier and Type | Method and Description |
---|---|
<R,S> boolean |
AmqpTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback)
Receive a message if there is one from a default queue, invoke provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the replyTo Address
from MessageProperties
or to default exchange and default routingKey. |
<R,S> boolean |
AmqpTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback,
ReplyToAddressCallback<S> replyToAddressCallback)
Receive a message if there is one from a default queue, invoke provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the replyTo Address
from result of ReplyToAddressCallback . |
<R,S> boolean |
AmqpTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback,
String replyExchange,
String replyRoutingKey)
Receive a message if there is one from default queue, invoke provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the provided exchange and routingKey . |
<R,S> boolean |
AmqpTemplate.receiveAndReply(String queueName,
ReceiveAndReplyCallback<R,S> callback)
Receive a message if there is one from provided queue, invoke provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the replyTo Address
from MessageProperties
or to default exchange and default routingKey. |
<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 provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the replyTo Address
from result of ReplyToAddressCallback . |
<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 provided
ReceiveAndReplyCallback
and send reply message, if the callback returns one,
to the provided exchange and routingKey . |
Modifier and Type | Method and Description |
---|---|
<R,S> boolean |
RabbitTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback,
ReplyToAddressCallback<S> replyToAddressCallback) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback,
String exchange,
String routingKey) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(String queueName,
ReceiveAndReplyCallback<R,S> callback) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(String queueName,
ReceiveAndReplyCallback<R,S> callback,
ReplyToAddressCallback<S> replyToAddressCallback) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(String queueName,
ReceiveAndReplyCallback<R,S> callback,
String replyExchange,
String replyRoutingKey) |
Copyright © 2018. All rights reserved.