Interface IConnectionFactory
A Factory of IConnection objects
Assembly: Apache.NMS.dll
Syntax
public interface IConnectionFactory
Properties
|
Improve this Doc
View Source
BrokerUri
Get/or set the broker Uri.
Declaration
Uri BrokerUri { get; set; }
Property Value
Type |
Description |
System.Uri |
|
|
Improve this Doc
View Source
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
ConnectionFactory sets the provided delegate instance on each Connection instance that
is created from this factory, each connection in turn passes the delegate along to each
Session it creates which then passes that along to the Consumers it creates.
Declaration
ConsumerTransformerDelegate ConsumerTransformer { get; set; }
Property Value
|
Improve this Doc
View Source
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 ConnectionFactory sets the provided delegate instance on each Connection instance that
is created from this factory, each connection in turn passes the delegate along to each
Session it creates which then passes that along to the Producers it creates.
Declaration
ProducerTransformerDelegate ProducerTransformer { get; set; }
Property Value
|
Improve this Doc
View Source
RedeliveryPolicy
Get/or set the redelivery policy that new IConnection objects are
assigned upon creation.
Declaration
IRedeliveryPolicy RedeliveryPolicy { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateConnection()
Declaration
IConnection CreateConnection()
Returns
|
Improve this Doc
View Source
CreateConnection(String, String)
Creates a new connection with the given user name and password
Declaration
IConnection CreateConnection(string userName, string password)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
password |
|
Returns
|
Improve this Doc
View Source
CreateContext()
Declaration
INMSContext CreateContext()
Returns
|
Improve this Doc
View Source
CreateContext(AcknowledgementMode)
Creates a new context with the given acknowledgement mode.
Declaration
INMSContext CreateContext(AcknowledgementMode acknowledgementMode)
Parameters
Returns
|
Improve this Doc
View Source
CreateContext(String, String)
Creates a new context with the given user name and password
Declaration
INMSContext CreateContext(string userName, string password)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
password |
|
Returns
|
Improve this Doc
View Source
CreateContext(String, String, AcknowledgementMode)
Creates a new context with the given user name, password and acknowledgement mode
Declaration
INMSContext CreateContext(string userName, string password, AcknowledgementMode acknowledgementMode)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
password |
|
AcknowledgementMode |
acknowledgementMode |
|
Returns