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 | Method and Description |
---|---|
<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(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 . |
Modifier and Type | Method and Description |
---|---|
<R,S> boolean |
RabbitTemplate.receiveAndReply(ReceiveAndReplyCallback<R,S> callback,
ReplyToAddressCallback<S> replyToAddressCallback) |
<R,S> boolean |
RabbitTemplate.receiveAndReply(String queueName,
ReceiveAndReplyCallback<R,S> callback,
ReplyToAddressCallback<S> replyToAddressCallback) |
Copyright © 2016. All rights reserved.