Ejemplo n.º 1
0
 public NetTxSession(Connection connection, SessionId id)
     : base(connection, id, AcknowledgementMode.AutoAcknowledge)
 {
     this.transactionContext = TransactionContext as NetTxTransactionContext;
     this.transactionContext.InitializeDtcTxContext();
     this.enlistMsDtcNativeResources = false;
 }
Ejemplo n.º 2
0
 internal NetTxMessageConsumer(Session session, ConsumerId id, ActiveMQDestination destination,
                               string name, string selector, int prefetch, int maxPendingMessageCount,
                               bool noLocal, bool browser, bool dispatchAsync) :
     base(session, id, destination, name, selector, prefetch,
          maxPendingMessageCount, noLocal, browser, dispatchAsync)
 {
     this.session            = session as NetTxSession;
     this.transactionContext = session.TransactionContext as NetTxTransactionContext;
 }
Ejemplo n.º 3
0
 public NetTxSession(Connection connection, SessionId id)
     : base(connection, id, AcknowledgementMode.AutoAcknowledge)
 {
     this.transactionContext = TransactionContext as NetTxTransactionContext;
     this.transactionContext.InitializeDtcTxContext();
 }