Class 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.
Implements
Apache.NMS.INetTxConnection
    Apache.NMS.IConnection
    System.IDisposable
    Apache.NMS.IStartable
    Apache.NMS.IStoppable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Apache.NMS.ActiveMQ
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
public sealed class NetTxConnection : Connection, INetTxConnection, IConnection, IDisposable, IStartable, IStoppableConstructors
| Improve this Doc View SourceNetTxConnection(Uri, ITransport, IdGenerator)
Declaration
public NetTxConnection(Uri connectionUri, ITransport transport, IdGenerator clientIdGenerator)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Uri | connectionUri | |
| ITransport | transport | |
| IdGenerator | clientIdGenerator | 
Properties
| Improve this Doc View SourceConfiguredResourceManagerId
Declaration
public Guid ConfiguredResourceManagerId { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | 
RecoveryPolicy
Declaration
public NetTxRecoveryPolicy RecoveryPolicy { get; set; }Property Value
| Type | Description | 
|---|---|
| NetTxRecoveryPolicy | 
Methods
| Improve this Doc View SourceCreateActiveMQSession(AcknowledgementMode)
Declaration
protected override Session CreateActiveMQSession(AcknowledgementMode ackMode)Parameters
| Type | Name | Description | 
|---|---|---|
| Apache.NMS.AcknowledgementMode | ackMode | 
Returns
| Type | Description | 
|---|---|
| Session | 
Overrides
| Improve this Doc View SourceCreateNetTxSession()
Declaration
public INetTxSession CreateNetTxSession()Returns
| Type | Description | 
|---|---|
| Apache.NMS.INetTxSession | 
CreateNetTxSession(Boolean)
Declaration
public INetTxSession CreateNetTxSession(bool enlistNativeMsDtcResource)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | enlistNativeMsDtcResource | 
Returns
| Type | Description | 
|---|---|
| Apache.NMS.INetTxSession | 
CreateNetTxSession(Transaction)
Declaration
public INetTxSession CreateNetTxSession(Transaction tx)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Transactions.Transaction | tx | 
Returns
| Type | Description | 
|---|---|
| Apache.NMS.INetTxSession | 
CreateNetTxSession(Transaction, Boolean)
Declaration
public INetTxSession CreateNetTxSession(Transaction tx, bool enlistNativeMsDtcResource)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Transactions.Transaction | tx | |
| System.Boolean | enlistNativeMsDtcResource | 
Returns
| Type | Description | 
|---|---|
| Apache.NMS.INetTxSession | 
Implements
      Apache.NMS.INetTxConnection
  
  
      Apache.NMS.IConnection
  
  
      System.IDisposable
  
  
      Apache.NMS.IStartable
  
  
      Apache.NMS.IStoppable