Sun Java Communications Suite 5 Event Notification Service Guide

com.iplanet.ens.jms.EnsTopicConnFactory

About the method

The method is a constructor that returns a javax.jms.TopicConnectionFactory. Instead of using a JNDI-style lookup to obtain the TopicConnectionFactory object, this method is provided.

Syntax

public EnsTopicConnFactory (String name, 
                                            String hostname,
                                            int port, 
                                            OutputStream logStream) 

                                throws java.io.IOException

Arguments

Arguments  

Type  

Explanation  

name

String 

The client ID for the javax.jms.Connection 

hostname

String 

The hostname for the ENS server. 

port

int 

The TCP port for the ENS server. 

logStream

OutputStream 

Where messages are logged (cannot be null).