Uses of Interface
jakarta.jms.Connection
Package
Description
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
Modifier and TypeInterfaceDescriptioninterface
AQueueConnection
object is an active connection to a point-to-point Jakarta Messaging provider.interface
ATopicConnection
object is an active connection to a publish/subscribe Jakarta Messaging provider.interface
TheXAConnection
interface extends the capability ofConnection
by providing anXASession
(optional).interface
AnXAQueueConnection
provides the same create options asQueueConnection
(optional).interface
AnXATopicConnection
provides the same create options asTopicConnection
(optional).Modifier and TypeMethodDescriptionConnectionFactory.createConnection()
Creates a connection with the default user identity.ConnectionFactory.createConnection
(String userName, String password) Creates a connection with the specified user identity.