Class XAContext


  • class XAContext
    extends Object
    Utility class holding a resource's state during transaction progress.
    • Field Detail

      • status

        int status
        The transaction status.
      • sendings

        Hashtable<String,​ProducerMessages> sendings
        Table holding the ProducerMessages produced in the transaction.

        Key: destination name
        Object: ProducerMessages

      • deliveries

        Hashtable<String,​MessageAcks> deliveries
        Table holding the identifiers of the messages delivered per destination or subscription, in the transaction.

        Key: destination or subscription name
        Object: corresponding MessageAcks instance

    • Constructor Detail

      • XAContext

        XAContext()
        Constructs an XAContext instance.
    • Method Detail

      • addDeliveries

        void addDeliveries​(Hashtable<String,​MessageAcks> newDeliveries)
        Adds new deliveries occured within the resumed transaction.