Uses of Interface
jakarta.jms.Connection
-
Packages that use Connection Package Description jakarta.jms The Jakarta Messaging API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages. -
-
Uses of Connection in jakarta.jms
Subinterfaces of Connection in jakarta.jms Modifier and Type Interface Description interface
QueueConnection
AQueueConnection
object is an active connection to a point-to-point Jakarta Messaging provider.interface
TopicConnection
ATopicConnection
object is an active connection to a publish/subscribe Jakarta Messaging provider.interface
XAConnection
TheXAConnection
interface extends the capability ofConnection
by providing anXASession
(optional).interface
XAQueueConnection
AnXAQueueConnection
provides the same create options asQueueConnection
(optional).interface
XATopicConnection
AnXATopicConnection
provides the same create options asTopicConnection
(optional).Methods in jakarta.jms that return Connection Modifier and Type Method Description Connection
ConnectionFactory. createConnection()
Creates a connection with the default user identity.Connection
ConnectionFactory. createConnection(String userName, String password)
Creates a connection with the specified user identity.
-