Broker 10.15 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Introduction | Basics of webMethods Messaging | JMS API Programming Model | Connections
 
Connections
A connection object is an active connection from a client to its JMS provider. In JMS, connections support concurrent use. A connection serves the following purposes:
*A connection encapsulates an open connection with a JMS provider. It typically represents an open TCP/IP socket between a client and the service provider software.
*The creation of a connection object is the point where client authentication takes place.
*A connection object can specify a unique client identifier.
*A connection object supports a user-supplied ExceptionListener object.
A connection should always be closed once its use is no longer required.