Broker Connection Descriptors
The attributes of the connection between a Broker client and a Broker are defined by the BrokerConnectionDescriptor object. You use the attributes in the connection descriptor to:
Enable or disable the automatic re-connection of a
Broker client in the case where the connection to the
Broker is lost.
Enable or disable the sharing of a network connection by more than one
Broker client. Only
Broker clients located within the same process share a
Broker connection.
Enable or disable the sharing of client state by multiple
Broker clients.
Control the use of the secure socket layer (SSL) for authentication and encryption.
Enable or disable the redelivery counting feature and indicate whether the redelivery counter will operate in manual or automatic mode.
Enable or disable the keep-alive feature, which will prevent the client connection from being dropped without the
Broker's knowledge.
Note:
If you use a BrokerConnectionDescriptor to define the attributes of a connection, you must create the descriptor and set its attributes before you use it to create or reconnect a Broker client. Changing the attributes of a connection descriptor will not affect the Broker client currently using the descriptor, but it will affect any subsequent uses of the descriptor.