public class JMSTopicConnectionFactory
extends java.lang.Object
JMSTopicConnection| Constructor and Description |
|---|
JMSTopicConnectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static JMSTopicConnection |
createJMSTopicConnection(java.lang.String username,
java.lang.String password,
java.lang.String brokerList,
java.lang.Boolean loadBalancing,
java.lang.Boolean sequential,
java.lang.Boolean selectorAtBroker)
Factory method.
|
public static JMSTopicConnection createJMSTopicConnection(java.lang.String username, java.lang.String password, java.lang.String brokerList, java.lang.Boolean loadBalancing, java.lang.Boolean sequential, java.lang.Boolean selectorAtBroker) throws ConnectionException
username - the user namepassword - the passwordbrokerList - the coma separated broker URLs list (in the form [protocol://]hostname[:port])loadBalancing - if true, indicates that the client is willing to have a connect request re-directed to another broker within the listsequential - if true, the broker list will be scanned sequentiallyselectorAtBroker - if true, selectors will be evaluated on the broker sideConnectionException - the system was unable to create the instance.