Package org.springframework.amqp.rabbit
Class AsyncRabbitTemplate.RabbitConverterFuture<C>
- java.lang.Object
-
- org.springframework.util.concurrent.SettableListenableFuture<T>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture<C>
-
- org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitConverterFuture<C>
-
- Type Parameters:
C- the type.
- All Implemented Interfaces:
java.util.concurrent.Future<C>,org.springframework.util.concurrent.ListenableFuture<C>
- Enclosing class:
- AsyncRabbitTemplate
public class AsyncRabbitTemplate.RabbitConverterFuture<C> extends AsyncRabbitTemplate.RabbitFuture<C>
AAsyncRabbitTemplate.RabbitFuturewith a return type of the template's generic parameter.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description RabbitConverterFuture(java.lang.String correlationId, org.springframework.amqp.core.Message requestMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.ParameterizedTypeReference<C>getReturnType()voidsetReturnType(org.springframework.core.ParameterizedTypeReference<C> returnType)-
Methods inherited from class org.springframework.amqp.rabbit.AsyncRabbitTemplate.RabbitFuture
cancel, getConfirm, getNackCause
-
-