public class MJmsConnectionSpec
extends java.lang.Object
MJmsConnectionSpec
encapsulates details about JMS connection.Modifier and Type | Field and Description |
---|---|
java.lang.String |
clientID
The clientid of this connection.
|
java.lang.String |
connFactoryName
Name of connection factory.
|
int |
connFactoryType
Specifies whether the connection factory is topic or queue.
|
java.lang.String |
connPassword
Password for connection to either JNDI provider or JMS server.
|
java.lang.String |
connUsername
User name for connection to either JNDI provider or JMS server.
|
java.util.Hashtable |
envParameters |
javax.naming.InitialContext |
initialCtx
The JNDI context to be used for connection.
|
boolean |
isUsingJndi
Indicate whether connection is for JNDI provider or JMS server.
|
static int |
QUEUE_CONN_FACTORY
Specifies that the connection factory is queue.
|
java.lang.String |
serverUrl
The url that specifies the JMS server.
|
static int |
TOPIC_CONN_FACTORY
Specifies that the connection factory is topic.
|
Constructor and Description |
---|
MJmsConnectionSpec() |
public javax.naming.InitialContext initialCtx
public java.lang.String connUsername
public java.lang.String connPassword
public int connFactoryType
public java.lang.String connFactoryName
public java.util.Hashtable envParameters
public java.lang.String serverUrl
tcp://localhost:7222
public java.lang.String clientID
public boolean isUsingJndi
public static final int QUEUE_CONN_FACTORY
public static final int TOPIC_CONN_FACTORY