Class DetailedTransactionInfo


  • public class DetailedTransactionInfo
    extends TransactionInfo
    This class represents the a transaction as it is present on the EMS server. In addition to TransactionInfo it contains more detail. Especially about Messages that are part of this transaction.
    Since:
    EMS 6.1
    • Method Detail

      • getProducerMessages

        public DetailedTransactionInfo.ProducerMessage[] getProducerMessages()
        Get the list of messages that are about to be produced on commit of this transaction.
        Returns:
        the list of messages that are about to be produced on commit of this transaction. Null indicates that messages where not collected due to transaction state.
      • getConsumerMessages

        public DetailedTransactionInfo.ConsumerMessage[] getConsumerMessages()
        Get the list of messages that are about to be consumed on commit of this transaction.
        Returns:
        the list of messages that are about to be consumed on commit of this transaction. Null indicates that messages where not collected due to transaction state.
      • getRemainingTime

        public int getRemainingTime()
        Get the remaining time before this transaction times out.
        Returns:
        remaining time before timeout (in seconds).
        Since:
        EMS 6.3
      • hasTimeout

        public boolean hasTimeout()
        Returns whether or not this transaction has a timeout associated with it.
        Returns:
        true if a timeout exists
        Since:
        EMS 6.3