The INetTxConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes the connection.
(Inherited from IConnection.) | |
CreateNetTxSession()()()() |
Creates a INetTxSession object.
| |
CreateNetTxSession(Transaction) |
Creates a INetTxSession object and enlists in the specified Transaction.
| |
CreateSession()()()() |
Creates a new session to work on this connection
(Inherited from IConnection.) | |
CreateSession(AcknowledgementMode) |
Creates a new session to work on this connection
(Inherited from IConnection.) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
PurgeTempDestinations |
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.) | |
Start | (Inherited from IStartable.) | |
Stop | (Inherited from IStoppable.) |
Properties
Name | Description | |
---|---|---|
AcknowledgementMode |
The default acknowledgement mode
(Inherited from IConnection.) | |
ClientId |
Sets the unique clienet ID for this connection before Start() or returns the
unique client ID after the connection has started
(Inherited from IConnection.) | |
ConsumerTransformer |
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.) | |
IsStarted | (Inherited from IStartable.) | |
MetaData |
Gets the Meta Data for the NMS Connection instance.
(Inherited from IConnection.) | |
ProducerTransformer |
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.) | |
RedeliveryPolicy |
Get/or set the redelivery policy for this connection.
(Inherited from IConnection.) | |
RequestTimeout |
The default timeout for network requests.
(Inherited from IConnection.) |
Events
Name | Description | |
---|---|---|
ConnectionInterruptedListener |
An asynchronous listener that is notified when a Fault tolerant connection
has been interrupted.
(Inherited from IConnection.) | |
ConnectionResumedListener |
An asynchronous listener that is notified when a Fault tolerant connection
has been resumed.
(Inherited from IConnection.) | |
ExceptionListener |
An asynchronous listener which can be notified if an error occurs
(Inherited from IConnection.) |