The NMSConnectionFactory type exposes the following members.

Constructors

  NameDescription
Public methodNMSConnectionFactory(String, array<Object>[]()[][])
The ConnectionFactory object must define a constructor that takes as a minimum a Uri object. Any additional parameters are optional, but will typically include a Client ID string.
Public methodNMSConnectionFactory(Uri, array<Object>[]()[][])
The ConnectionFactory object must define a constructor that takes as a minimum a Uri object. Any additional parameters are optional, but will typically include a Client ID string.

Methods

  NameDescription
Public methodCreateConnection()()()()
Creates a new connection.
Public methodCreateConnection(String, String)
Creates a new connection with the given userName and password credentials.
Public methodStatic memberCreateConnectionFactory
Create a connection factory that can create connections for the given scheme in the URI.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

Properties

  NameDescription
Public propertyBrokerUri
Get/or set the broker Uri.
Public propertyConnectionFactory
The actual IConnectionFactory implementation that is being used. This implementation depends on the scheme of the URI used when constructed.
Public propertyConsumerTransformer
Get/or Set the ConsumerTransformerDelegate using the IConnectionFactory implementation that is currently being used.
Public propertyProducerTransformer
Get/or Set the ProducerTransformerDelegate using the IConnectionFactory implementation that is currently being used.
Public propertyRedeliveryPolicy
Get/or Set the IRedeliveryPolicy instance using the IConnectionFactory implementation that is being used.

See Also