public abstract class JMSClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JMS_LOGGER
The JMS logger.
|
static int |
NO_TX
Setting this mode will result in non transacted JMS client Session.
|
static java.lang.String |
QUEUE
Queue Destination type
|
static int |
SESSION_TX
Setting this mode will result in transacted JMS client session.
|
static java.lang.String |
TOPIC
Topic Destination type
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Releses all resources that is cached by the client like JMS Session and
Connection.
|
void |
commitTx()
Commits the JMS Session transaction.
|
abstract JMSClient |
createClientInSession()
Creates another JMSClient of the same type in this clients Session.
|
abstract JMSClient |
createClientInSession(java.lang.String destinationName,
java.util.Properties env)
Creates another JMSClient of the same type in this clients Session.
|
java.lang.String |
getDestinationName() |
java.util.Properties |
getEnvironment() |
java.lang.String |
getProviderPassword() |
java.lang.String |
getProviderUserName() |
javax.jms.Session |
getSession()
Deprecated.
|
boolean |
isValid()
Determines if the client is still valid.
|
void |
rollbackTx()
Rollback the JMS Session transaction.
|
public static final int NO_TX
public static final int SESSION_TX
public static final java.lang.String QUEUE
public static final java.lang.String TOPIC
public static final java.lang.String JMS_LOGGER
public java.lang.String getProviderUserName()
public java.lang.String getProviderPassword()
@Deprecated public javax.jms.Session getSession()
public abstract JMSClient createClientInSession() throws MXException
MXException
public abstract JMSClient createClientInSession(java.lang.String destinationName, java.util.Properties env) throws MXException
MXException
public java.util.Properties getEnvironment()
public java.lang.String getDestinationName()
public boolean isValid()
public void close()
public void rollbackTx() throws MXException
MXException
public void commitTx() throws MXException
MXException