Uses of Interface
javax.jms.Connection

  • Uses of Connection in javax.jms

    Subinterfaces of Connection in javax.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 javax.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.