|
|||||||||
| Home >> All >> javax >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.jms
Interface Connection

- All Known Subinterfaces:
- QueueConnection, TopicConnection, XAConnection, XAQueueConnection, XATopicConnection
- public interface Connection
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
| Method Summary | |
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()
|
| Method Detail |
createSession
public Session createSession(boolean transacted, int acknowledgeMode) throws JMSException
getClientID
public java.lang.String getClientID() throws JMSException
setClientID
public void setClientID(java.lang.String clientID) throws JMSException
getMetaData
public ConnectionMetaData getMetaData() throws JMSException
getExceptionListener
public ExceptionListener getExceptionListener() throws JMSException
setExceptionListener
public void setExceptionListener(ExceptionListener listener) throws JMSException
start
public void start()
throws JMSException
stop
public void stop()
throws JMSException
close
public void close()
throws JMSException
createConnectionConsumer
public ConnectionConsumer createConnectionConsumer(Destination destination, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
createDurableConnectionConsumer
public ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
|
|||||||||
| Home >> All >> javax >> [ jms overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC