public interface Connection
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ConnectionConsumer |
createConnectionConsumer(Destination destination,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
ConnectionConsumer |
createDurableConnectionConsumer(Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages) |
Session |
createSession(boolean transacted,
int acknowledgeMode) |
java.lang.String |
getClientID() |
ExceptionListener |
getExceptionListener() |
ConnectionMetaData |
getMetaData() |
void |
setClientID(java.lang.String clientID) |
void |
setExceptionListener(ExceptionListener listener) |
void |
start() |
void |
stop() |
java.lang.String getClientID()
throws JMSException
JMSExceptionvoid setClientID(java.lang.String clientID)
throws JMSException
JMSExceptionSession createSession(boolean transacted, int acknowledgeMode) throws JMSException
JMSExceptionConnectionConsumer createConnectionConsumer(Destination destination, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSExceptionConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSExceptionConnectionMetaData getMetaData() throws JMSException
JMSExceptionExceptionListener getExceptionListener() throws JMSException
JMSExceptionvoid setExceptionListener(ExceptionListener listener) throws JMSException
JMSExceptionvoid start()
throws JMSException
JMSExceptionvoid stop() throws JMSException
JMSExceptionvoid close()
throws JMSException
JMSException