Package org.springframework.amqp.rabbit
Class AsyncRabbitTemplate.RabbitMessageFuture
- java.lang.Object
-
- org.springframework.util.concurrent.SettableListenableFuture<T>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture<Message>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitMessageFuture
-
- All Implemented Interfaces:
java.util.concurrent.Future<Message>
,ListenableFuture<Message>
- Enclosing class:
- AsyncRabbitTemplate
public class AsyncRabbitTemplate.RabbitMessageFuture extends AsyncRabbitTemplate.RabbitFuture<Message>
AAsyncRabbitTemplate.RabbitFuture
with a return type ofMessage
.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description RabbitMessageFuture(java.lang.String correlationId, Message requestMessage)
-
Method Summary
-
Methods inherited from class org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture
cancel, getConfirm, getNackCause
-
Methods inherited from class org.springframework.util.concurrent.SettableListenableFuture
addCallback, addCallback, completable, get, get, interruptTask, isCancelled, isDone, set, setException
-
-
-
-
Constructor Detail
-
RabbitMessageFuture
public RabbitMessageFuture(java.lang.String correlationId, Message requestMessage)
-
-