org.apache.activemq.TransactionContext.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1?
~ ? `
`
` `
` `
[ [ [
`
`
!"
#$
`
!%
&
'() `*+,-
) ?.
)/
)0
)1+23
`45+678
)9
:(;
`<
`=>
`?(@
`A
!B+CD
`EF
F `G
`HI"
`J
`K LMLN
OPLQRS
TTU
VV
W `X
|YZ [[ [\]^]_`a
`b
cde
F
Ffgh
hi ?
jk
blm
|n
|o [p
qr
st
su
sv
w
Fx Fy
x
z{|
| ?}~ LOG Lorg/apache/commons/logging/Log; ENDED_XA_TRANSACTION_CONTEXTS (Ljava/util/concurrent/ConcurrentHashMap; Signature ?Ljava/util/concurrent/ConcurrentHashMap;>;
connection (Lorg/apache/activemq/ActiveMQConnection; localTransactionIdGenerator 0Lorg/apache/activemq/util/LongSequenceGenerator; connectionId *Lorg/apache/activemq/command/ConnectionId; synchronizations Ljava/util/List; CLjava/util/List;
associatedXid Ljavax/transaction/xa/Xid;
transactionId +Lorg/apache/activemq/command/TransactionId; localTransactionEventListener 3Lorg/apache/activemq/LocalTransactionEventListener; beforeEndIndex I +(Lorg/apache/activemq/ActiveMQConnection;)V Code LineNumberTable LocalVariableTable this (Lorg/apache/activemq/TransactionContext; isInXATransaction ()Z isInLocalTransaction isInTransaction getLocalTransactionEventListener 5()Lorg/apache/activemq/LocalTransactionEventListener; setLocalTransactionEventListener 6(Lorg/apache/activemq/LocalTransactionEventListener;)V addSynchronization 4(Lorg/apache/activemq/transaction/Synchronization;)V s 1Lorg/apache/activemq/transaction/Synchronization;
afterRollback ()V i e Ljavax/jms/JMSException; Ljava/lang/Throwable; size
Exceptions afterCommit beforeEnd getTransactionId -()Lorg/apache/activemq/command/TransactionId; begin info -Lorg/apache/activemq/command/TransactionInfo; rollback canOcurrOnFailover *Ljavax/jms/TransactionRolledBackException; commit cause start (Ljavax/transaction/xa/Xid;I)V xid flags getConnectionId ,()Lorg/apache/activemq/command/ConnectionId; end equals 7(Ljavax/transaction/xa/Xid;Ljavax/transaction/xa/Xid;)Z xid1 xid2 prepare (Ljavax/transaction/xa/Xid;)I response -Lorg/apache/activemq/command/IntegerResponse; x -Lorg/apache/activemq/command/XATransactionId; (Ljavax/transaction/xa/Xid;)V ctx i$ Ljava/util/Iterator; l LocalVariableTypeTable :Ljava/util/List; (Ljavax/transaction/xa/Xid;Z)V onePhase Z forget isSameRM $(Ljavax/transaction/xa/XAResource;)Z
xaResource !Ljavax/transaction/xa/XAResource; xar recover (I)[Ljavax/transaction/xa/Xid; answer .[Lorg/apache/activemq/command/XATransactionId; receipt /Lorg/apache/activemq/command/DataArrayResponse; data ,[Lorg/apache/activemq/command/DataStructure; flag getTransactionTimeout ()I setTransactionTimeout (I)Z seconds getResourceManagerId ()Ljava/lang/String; setXid &syncSendPacketWithInterruptionHandling M(Lorg/apache/activemq/command/Command;)Lorg/apache/activemq/command/Response; command %Lorg/apache/activemq/command/Command;
toXAException <(Ljavax/jms/JMSException;)Ljavax/transaction/xa/XAException; original "Ljavax/transaction/xa/XAException; xae
getConnection *()Lorg/apache/activemq/ActiveMQConnection; cleanup
SourceFile TransactionContext.java ? ? ? ??? ? ???? ? ? ? ? ? ??? ?? ? ? ? ? ? java/util/ArrayList ???? ? ??? /org/apache/activemq/transaction/Synchronization ? ? javax/jms/JMSException java/lang/Throwable??? ? ? ? ? ? ? ? ? (javax/jms/TransactionInProgressException GCannot start local transaction. XA transaction is already in progress. ?? .org/apache/activemq/command/LocalTransactionId??? ?? +org/apache/activemq/command/TransactionInfo ??? ????? ? ? ??? ? java/lang/StringBuilder Begin:????? ??? >Cannot rollback() if an XA transaction is already in progress (javax/jms/TransactionRolledBackException rollback processing error??
Rollback: syncCount: ??? ?? ?