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:
Future<C>, org.springframework.util.concurrent.ListenableFuture<C>
Enclosing class:
AsyncRabbitTemplate

public class AsyncRabbitTemplate.RabbitConverterFuture<C> extends AsyncRabbitTemplate.RabbitFuture<C>
A AsyncRabbitTemplate.RabbitFuture with a return type of the template's generic parameter.
Since:
1.6
  • Constructor Details

    • RabbitConverterFuture

      public RabbitConverterFuture(String correlationId, org.springframework.amqp.core.Message requestMessage)
  • Method Details

    • getReturnType

      public org.springframework.core.ParameterizedTypeReference<C> getReturnType()
    • setReturnType

      public void setReturnType(org.springframework.core.ParameterizedTypeReference<C> returnType)