Class AsyncRabbitTemplate.RabbitFuture<T>

    • Constructor Detail

      • RabbitFuture

        public RabbitFuture​(java.lang.String correlationId,
                            Message requestMessage)
    • Method Detail

      • cancel

        public boolean cancel​(boolean mayInterruptIfRunning)
        Specified by:
        cancel in interface java.util.concurrent.Future<T>
        Overrides:
        cancel in class SettableListenableFuture<T>
      • getConfirm

        public ListenableFuture<java.lang.Boolean> getConfirm()
        When confirms are enabled contains a ListenableFuture for the confirmation.
        Returns:
        the future.
      • getNackCause

        public java.lang.String getNackCause()
        When confirms are enabled and a nack is received, contains the cause for the nack, if any.
        Returns:
        the cause.