[TIBCO.EMS .NET client library 6.0 documentation]

Construct an TopicConnectionFactory given the server url and client id.

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

Syntax

public TopicConnectionFactory(
	string serverUrl,
	string clientId
)
Public Sub New ( _
	serverUrl As String, _
	clientId As String _
)
public:
TopicConnectionFactory(
	String^ serverUrl, 
	String^ clientId
)

Parameters

serverUrl
Type: System..::.String
The url to the server
clientId
Type: System..::.String
The id to the client

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