Collapse All Expand All

.NET Framework Class Library
QueueConnectionFactory Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Construct an QueueConnectionFactory given the server url, client id and properties

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

# Syntax

    public QueueConnectionFactory(
    	string serverUrls,
    	string clientId,
    	Hashtable properties
    )

    Public Sub New ( _
    	serverUrls As String, _
    	clientId As String, _
    	properties As Hashtable _
    )

    public:
    QueueConnectionFactory(
    	String^ serverUrls,
    	String^ clientId,
    	Hashtable^ properties
    )

#### Parameters

serverUrls
  Type: System..::.String
  The url to the server

clientId
  Type: System..::.String
  The id to the client

properties
  Type: System.Collections..::.Hashtable
  The properties for creating connection such as username and password

# Remarks

Reconnect and Fault Tolerance

To enable reconnection behavior and fault tolerance, the connection factory’s server URL parameter must be a comma-separated list of two or more URLs. To enable client reconnection in a situation with only one server, you may supply two copies of that server’s URL (for example, tcp://localhost:7222,tcp://localhost:7222)

# See Also

QueueConnectionFactory Class
QueueConnectionFactory Overload
TIBCO.EMS.UFO Namespace