The INetTxConnection type exposes the following members.

Methods

  NameDescription
Public methodClose
Closes the connection.
(Inherited from IConnection.)
Public methodCreateNetTxSession()()()()
Creates a INetTxSession object.
Public methodCreateNetTxSession(Transaction)
Creates a INetTxSession object and enlists in the specified Transaction.
Public methodCreateSession()()()()
Creates a new session to work on this connection
(Inherited from IConnection.)
Public methodCreateSession(AcknowledgementMode)
Creates a new session to work on this connection
(Inherited from IConnection.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodPurgeTempDestinations
For a long running Connection that creates many temp destinations this method will close and destroy all previously created temp destinations to reduce resource consumption. This can be useful when the Connection is pooled or otherwise used for long periods of time. Only locally created temp destinations should be removed by this call. NOTE: This is an optional operation and for NMS providers that do not support this functionality the method should just return without throwing any exceptions.
(Inherited from IConnection.)
Public methodStart (Inherited from IStartable.)
Public methodStop (Inherited from IStoppable.)

Properties

  NameDescription
Public propertyAcknowledgementMode
The default acknowledgement mode
(Inherited from IConnection.)
Public propertyClientId
Sets the unique clienet ID for this connection before Start() or returns the unique client ID after the connection has started
(Inherited from IConnection.)
Public propertyConsumerTransformer
A Delegate that is called each time a Message is dispatched to allow the client to do any necessary transformations on the received message before it is delivered. The Connection sets the provided delegate instance on each Session it creates which then passes that along to the Consumers it creates.
(Inherited from IConnection.)
Public propertyIsStarted (Inherited from IStartable.)
Public propertyMetaData
Gets the Meta Data for the NMS Connection instance.
(Inherited from IConnection.)
Public propertyProducerTransformer
A delegate that is called each time a Message is sent from this Producer which allows the application to perform any needed transformations on the Message before it is sent. The Connection sets the provided delegate instance on each Session it creates which then passes that along to the Producer it creates.
(Inherited from IConnection.)
Public propertyRedeliveryPolicy
Get/or set the redelivery policy for this connection.
(Inherited from IConnection.)
Public propertyRequestTimeout
The default timeout for network requests.
(Inherited from IConnection.)

Events

  NameDescription
Public eventConnectionInterruptedListener
An asynchronous listener that is notified when a Fault tolerant connection has been interrupted.
(Inherited from IConnection.)
Public eventConnectionResumedListener
An asynchronous listener that is notified when a Fault tolerant connection has been resumed.
(Inherited from IConnection.)
Public eventExceptionListener
An asynchronous listener which can be notified if an error occurs
(Inherited from IConnection.)

See Also