TIBCO EMS .NET API 8.5
TIBCO EMS .NET API 8.5
TIBCO.EMS.UFO.QueueConnectionFactory Class Reference

Backward compatibility. Administered object for creating queue connections. More...

Inheritance diagram for TIBCO.EMS.UFO.QueueConnectionFactory:
TIBCO.EMS.UFO.ConnectionFactory

Public Member Functions

 QueueConnectionFactory ()
 Construct an empty QueueConnectionFactory More...
 
 QueueConnectionFactory (string serverUrls)
 Construct an QueueConnectionFactory given the server url More...
 
 QueueConnectionFactory (string serverUrls, string clientId)
 Construct an QueueConnectionFactory given the server url, and client id More...
 
 QueueConnectionFactory (string serverUrls, string clientId, Hashtable properties)
 Construct an QueueConnectionFactory given the server url, client id and properties More...
 
 QueueConnectionFactory (TIBCO.EMS.QueueConnectionFactory factory)
 Constructs a TIBCO.EMS.UFO QueueConnectionFactory object with the given TIBCO.EMS.QueueConnectionFactory object. More...
 
override object Clone ()
 Implementation of ICloneable. Overrides the Clone process. More...
 
virtual QueueConnection CreateQueueConnection ()
 Create a queue connection object. More...
 
virtual QueueConnection CreateQueueConnection (string userName, string password)
 Create a queue connection object for a specific user. More...
 
- Public Member Functions inherited from TIBCO.EMS.UFO.ConnectionFactory
 ConnectionFactory ()
 Construct an empty ConnectionFactory More...
 
 ConnectionFactory (string serverUrls)
 Construct a ConnectionFactory given server url More...
 
 ConnectionFactory (string serverUrls, string clientId)
 Construct a ConnectionFactory given the server url, and client id More...
 
 ConnectionFactory (string serverUrls, string clientId, Hashtable properties)
 Construct a ConnectionFactory given server url, client id and properties More...
 
 ConnectionFactory (TIBCO.EMS.ConnectionFactory factory)
 Constructs a TIBCO.EMS.UFO ConnectionFactory object with the given TIBCO.EMS.ConnectionFactory object. More...
 
override Object Clone ()
 Overrides the cloning process More...
 
void SetServerUrl (String serverUrl)
 set the server url. More...
 
void SetClientID (String clientID)
 Set the client id More...
 
void SetMetric (int metric)
 Set the load balance metric. More...
 
void SetConnAttemptCount (int attempts)
 Set the number of connection attempts. More...
 
void SetConnAttemptDelay (int delay)
 Set the delay between connection attempts. More...
 
void SetReconnAttemptCount (int attempts)
 Set the number of reconnect attempts. More...
 
void SetReconnAttemptDelay (int delay)
 Set the delay between reconnect attempts. More...
 
void SetUserName (String username)
 Set the user name. More...
 
void SetUserPassword (String password)
 Set the user password. More...
 
void SetSSLTrace (Boolean trace)
 Enable or disable tracing on the client side. More...
 
void SetSSLAuthOnly (Boolean authOnly)
 Enable or disable encryption/decryption of the message data over the SSL connection. More...
 
void SetSSLProxy (string host, int port)
 Set the connection factory's parameters for connecting through an SSL proxy. More...
 
void SetSSLProxyAuth (string username, string password)
 Set a connection factory's username and password for connecting through an SSL proxy. More...
 
String GetSSLProxyHost ()
 Get the SSL proxy host from this connection factory. More...
 
int GetSSLProxyPort ()
 Get the SSL proxy port from this connection factory. More...
 
String GetSSLProxyUser ()
 Get the SSL proxy username from a connection factory. More...
 
String GetSSLProxyPassword ()
 Get the SSL proxy password from a connection factory. More...
 
void SetConnAttemptTimeout (int timeout)
 Set the Connect Attempt timeout for a given connection. More...
 
void SetReconnAttemptTimeout (int timeout)
 Set the Reconnect Attempt timeout for a given connection. More...
 
void SetMulticastEnabled (bool enabled)
 Set whether MessageConsumers subscribed to a multicast-enabled topic will receive messages over multicast. More...
 
void SetMulticastDaemon (String port)
 Set the port on which the client will connect to the multicast daemon. More...
 
Connection CreateConnection ()
 Create a connection More...
 
Connection CreateConnection (string userName, string password)
 Create a connection object with the given user name and password. More...
 
object GetCertificateStore ()
 Get the certificate store info object associated with this connection factory. More...
 
void SetCertificateStoreType (TIBCO.EMS.EMSSSLStoreType type, Object storeInfo)
 Set the certificate store type and info. More...
 
void SetHostNameVerifier (EMSSSLHostNameVerifier verifier)
 Set the custom host name verifier. Set to null to remove custom host name verifier. More...
 
void SetClientTracer (System.IO.StreamWriter tracer)
 Set client tracer to given output stream. More...
 
void SetTargetHostName (String targetHostName)
 Set the name of the target EMS server. More...
 
void SetBlockingOnRecovery (bool blocking)
 Enable or Disable blocking on JMS API call when the connection is diconnected or in recovery. More...
 
override string ToString ()
 Returns a string representation of this ConnectionFactory object. More...
 

Detailed Description

Backward compatibility. Administered object for creating queue connections.

Note: This class is provided for backward compatibility to support older EMS clients programs. New clients should use the ConnectionFactory class instead.

A client uses a QueueConnectionFactory object to create QueueConnection objects with a point-to-point TIBCO EMS server.

This class is provided only to support older clients. New clients should use the ConnectionFactory object.

Constructor & Destructor Documentation

TIBCO.EMS.UFO.QueueConnectionFactory.QueueConnectionFactory ( )
inline

Construct an empty QueueConnectionFactory

TIBCO.EMS.UFO.QueueConnectionFactory.QueueConnectionFactory ( string  serverUrls)
inline

Construct an QueueConnectionFactory given the server url

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)

Parameters
serverUrlsThe url to the server
TIBCO.EMS.UFO.QueueConnectionFactory.QueueConnectionFactory ( string  serverUrls,
string  clientId 
)
inline

Construct an QueueConnectionFactory given the server url, and client id

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)

Parameters
serverUrlsThe url to the server
clientIdThe id of the client
TIBCO.EMS.UFO.QueueConnectionFactory.QueueConnectionFactory ( string  serverUrls,
string  clientId,
Hashtable  properties 
)
inline

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

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)

Parameters
serverUrlsThe url to the server
clientIdThe id to the client
propertiesThe properties for creating connection such as username and password
TIBCO.EMS.UFO.QueueConnectionFactory.QueueConnectionFactory ( TIBCO.EMS.QueueConnectionFactory  factory)
inline

Constructs a TIBCO.EMS.UFO QueueConnectionFactory object with the given TIBCO.EMS.QueueConnectionFactory object.

Parameters
factoryobject of TIBCO.EMS.QueueConnectionFactory

Member Function Documentation

override object TIBCO.EMS.UFO.QueueConnectionFactory.Clone ( )
inline

Implementation of ICloneable. Overrides the Clone process.

Returns
A object that is a clone of this QueueConnectionFactory instance.
virtual QueueConnection TIBCO.EMS.UFO.QueueConnectionFactory.CreateQueueConnection ( )
inlinevirtual

Create a queue connection object.

The connection object presents a default user identity. If the server configuration permits that user, then the call succeeds.

Returns
The newly created QueueConnection.
virtual QueueConnection TIBCO.EMS.UFO.QueueConnectionFactory.CreateQueueConnection ( string  userName,
string  password 
)
inlinevirtual

Create a queue connection object for a specific user.

Parameters
userNameThe username to use to create connection.
passwordAuthenticate the user identity with this password.
Returns
The newly created QueueConnection.

Copyright © TIBCO Software Inc. All rights reserved.