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.

Namespace:  Apache.NMS
Assembly:  Apache.NMS (in Apache.NMS.dll)

Syntax

Visual Basic
Public Sub New ( _
	providerURI As String, _
	ParamArray constructorParams As Object() _
)
C#
public NMSConnectionFactory(
	string providerURI,
	params Object[] constructorParams
)
Visual C++
public:
NMSConnectionFactory(
	String^ providerURI, 
	... array<Object^>^ constructorParams
)
JavaScript
Apache.NMS.NMSConnectionFactory = function(providerURI, ... constructorParams);

Parameters

providerURI
Type: System..::..String
The URI for the ActiveMQ provider.
constructorParams
Type: array<System..::..Object>[]()[][]
Optional parameters to use when creating the ConnectionFactory.

See Also