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.
public EnsTopicConnFactory (String name, String hostname, int port, OutputStream logStream) throws java.io.IOException
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). |