Package org.ow2.joram.jakarta.jms
Class XAContext
- java.lang.Object
-
- org.ow2.joram.jakarta.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) Hashtable<String,MessageAcks>deliveriesTable holding the identifiers of the messages delivered per destination or subscription, in the transaction.(package private) Hashtable<String,ProducerMessages>sendingsTable 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<String,MessageAcks> newDeliveries)Adds new deliveries occured within the resumed transaction.(package private) voidaddSendings(Hashtable<String,ProducerMessages> newSendings)Adds new sendings performed by the resumed transaction.
-
-
-
Field Detail
-
status
int status
The transaction status.
-
sendings
Hashtable<String,ProducerMessages> sendings
Table holding theProducerMessagesproduced 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: correspondingMessageAcksinstance
-
-
Method Detail
-
addSendings
void addSendings(Hashtable<String,ProducerMessages> newSendings)
Adds new sendings performed by the resumed transaction.
-
addDeliveries
void addDeliveries(Hashtable<String,MessageAcks> newDeliveries)
Adds new deliveries occured within the resumed transaction.
-
-