Name

TopicConnectionFactory

Synopsis

A TopicConnectionFactory is exported by publish/subscribe providers to allow clients to create TopicConnections to the provider. The default createTopicConnection() method is used to create a connection under the default user identity of the client JVM, and the other accepts a name and password that is used to authenticate the connection request.

                  Returned By
public interface TopicConnectionFactory extends javax.jms.ConnectionFactory {
// Public Instance Methods
   public abstract TopicConnection createTopicConnection(
        ) throws JMSException;  
   public abstract TopicConnection createTopicConnection(
        String userName, 
        String password) throws JMSException;  
}

Implementations

XATopicConnectionFactory

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.