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
JMSException
void setClientID(java.lang.String clientID) throws JMSException
JMSException
Session createSession(boolean transacted, int acknowledgeMode) throws JMSException
JMSException
ConnectionConsumer createConnectionConsumer(Destination destination, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSException
ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
JMSException
ConnectionMetaData getMetaData() throws JMSException
JMSException
ExceptionListener getExceptionListener() throws JMSException
JMSException
void setExceptionListener(ExceptionListener listener) throws JMSException
JMSException
void start() throws JMSException
JMSException
void stop() throws JMSException
JMSException
void close() throws JMSException
JMSException