Uses of Interface
jakarta.jms.Connection

Packages that use 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

    Subinterfaces of Connection in jakarta.jms
    Modifier and Type
    Interface
    Description
    interface 
    A QueueConnection object is an active connection to a point-to-point Jakarta Messaging provider.
    interface 
    A TopicConnection object is an active connection to a publish/subscribe Jakarta Messaging provider.
    interface 
    The XAConnection interface extends the capability of Connection by providing an XASession (optional).
    interface 
    An XAQueueConnection provides the same create options as QueueConnection (optional).
    interface 
    An XATopicConnection provides the same create options as TopicConnection (optional).
    Methods in jakarta.jms that return Connection
    Modifier and Type
    Method
    Description
    ConnectionFactory.createConnection()
    Creates a connection with the default user identity.
    ConnectionFactory.createConnection(String userName, String password)
    Creates a connection with the specified user identity.