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 sendings
        Table holding the ProducerMessages produced in the transaction.

        Key: destination name
        Object: ProducerMessages

      • deliveries

        Hashtable 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

      • addSendings

        void addSendings​(Hashtable newSendings)
        Adds new sendings performed by the resumed transaction.
      • addDeliveries

        void addDeliveries​(Hashtable newDeliveries)
        Adds new deliveries occured within the resumed transaction.