Class TransactionalDeliveryOutcome

    • Constructor Detail

      • TransactionalDeliveryOutcome

        public TransactionalDeliveryOutcome​(AmqpTransaction transaction)
        Creates an outcome with the given transaction.
        Parameters:
        transaction - The transaction.
        Throws:
        NullPointerException - if transaction is null.
    • Method Detail

      • getTransactionId

        public ByteBuffer getTransactionId()
        Gets the transaction id associated with this delivery outcome.
        Returns:
        The transaction id.
      • getOutcome

        public DeliveryOutcome getOutcome()
        Gets the delivery outcome associated with this transaction.
        Returns:
        the delivery outcome associated with this transaction, null if there is no outcome.