public class JMSConfig
extends java.lang.Object
env
object.Constructor and Description |
---|
JMSConfig() |
Modifier and Type | Method and Description |
---|---|
static javax.naming.Context |
getContext()
Get the context
|
static javax.jms.QueueSender |
getQSender(javax.jms.QueueSession qsession,
java.lang.String queueName,
MXLogger logger)
Get the queue sender
|
static javax.jms.QueueSession |
getQSession(java.lang.String factoryName,
MXLogger logger)
Get the queue session
|
public static javax.naming.Context getContext() throws javax.naming.NamingException
javax.naming.NamingException
public static javax.jms.QueueSession getQSession(java.lang.String factoryName, MXLogger logger) throws java.lang.Exception
factoryName
- java.lang.Exception
public static javax.jms.QueueSender getQSender(javax.jms.QueueSession qsession, java.lang.String queueName, MXLogger logger) throws java.lang.Exception
qsession
- queueName
- java.lang.Exception