C# Class Apache.NMS.ActiveMQ.NetTxConnection

Extends the basic Connection class to provide a transacted Connection instance that operates within the bounds of a .NET Scoped Transaction. The default Session creation methods of Connection are overriden here to always return a TX capable session instance.
Inheritance: Connection, INetTxConnection
Show file Open project: ThorTech/apache-nms Class Usage Examples

Private Properties

Property Type Description
GuidFromId System.Guid

Public Methods

Method Description
CreateNetTxSession ( ) : INetTxSession
NetTxConnection ( Uri connectionUri, ITransport transport, IdGenerator clientIdGenerator ) : System

Protected Methods

Method Description
CreateAtiveMQSession ( AcknowledgementMode ackMode ) : Session

Private Methods

Method Description
GuidFromId ( string id ) : System.Guid

Method Details

CreateAtiveMQSession() protected method

protected CreateAtiveMQSession ( AcknowledgementMode ackMode ) : Session
ackMode AcknowledgementMode
return Session

CreateNetTxSession() public method

public CreateNetTxSession ( ) : INetTxSession
return INetTxSession

NetTxConnection() public method

public NetTxConnection ( Uri connectionUri, ITransport transport, IdGenerator clientIdGenerator ) : System
connectionUri System.Uri
transport ITransport
clientIdGenerator Apache.NMS.ActiveMQ.Util.IdGenerator
return System