Table of Contents

Class NetTxSession

Namespace
Apache.NMS.ActiveMQ
Assembly
Apache.NMS.ActiveMQ.dll
public sealed class NetTxSession : Session, IDispatcher, INetTxSession, ISession, IDisposable
Inheritance
NetTxSession
Implements
INetTxSession
ISession
Inherited Members

Constructors

NetTxSession(Connection, SessionId)

public NetTxSession(Connection connection, SessionId id)

Parameters

connection Connection
id SessionId

Properties

EnlistsMsDtcNativeResource

public bool EnlistsMsDtcNativeResource { get; set; }

Property Value

bool

IsAutoAcknowledge

public override bool IsAutoAcknowledge { get; }

Property Value

bool

IsTransacted

public override bool IsTransacted { get; }

Property Value

bool

Methods

Close()

public override void Close()

CreateTransactionContext()

protected override TransactionContext CreateTransactionContext()

Returns

TransactionContext

Enlist(Transaction)

public void Enlist(Transaction tx)

Parameters

tx Transaction