Package org.objectweb.joram.client.jms
Class XAContext
- java.lang.Object
-
- org.objectweb.joram.client.jms.XAContext
-
class XAContext extends Object
Utility class holding a resource's state during transaction progress.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) HashtabledeliveriesTable holding the identifiers of the messages delivered per destination or subscription, in the transaction.(package private) HashtablesendingsTable holding theProducerMessagesproduced in the transaction.(package private) intstatusThe transaction status.
-
Constructor Summary
Constructors Constructor Description XAContext()Constructs anXAContextinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddDeliveries(Hashtable newDeliveries)Adds new deliveries occured within the resumed transaction.(package private) voidaddSendings(Hashtable newSendings)Adds new sendings performed by the resumed transaction.
-
-
-
Field Detail
-
status
int status
The transaction status.
-
sendings
Hashtable sendings
Table holding theProducerMessagesproduced 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: correspondingMessageAcksinstance
-
-