Connection
A Connection object is a client's active connection to its JMS provider. The Connection is responsible for controlling the communication with the server, including the initial handshake.
JMS Facade implementation of a Connection is
org.jboss.jms.client.JBossConnection
. The complete set of JMS interfaces implemented by this class are:
javax.jms.Connection
javax.jms.XAConnection
javax.jms.QueueConnection
javax.jms.XAQueueConnection
javax.jms.TopicConnection
javax.jms.XATopicConnection
Instances of this class are physically constructed by a ConnectionFactory delegate (
org.jboss.jms.delegate.ConnectionFactoryDelegate
).
JBossConnection doesn't do any significant work, it just delegates to a ConnectionDelegate. It is the delegate implementation that does the specific work of managing the connection.
Comments