Method Summary |
|
protected void | addSession(JmsSession session) Adds a session. |
protected void | assignClientID() Assigns a random client id.
XXX: possibly wrong, i.e. |
protected void | checkOpen() Checks that the session is open. |
public void | close() Closes the connection. |
public ConnectionConsumer | createConnectionConsumer(Destination destination, String messageSelector, ServerSessionPool sessionPool, int maxMessages) |
public ConnectionConsumer | createDurableConnectionConsumer(Topic topic, String name, String messageSelector, ServerSessionPool sessionPool, int maxMessages) |
Queue | createQueue(String name) Creates a dynamic queue. |
public Session | createSession(boolean transacted, int acknowledgeMode) Creates a new connection session. |
Topic | createTopic(String name) Creates a dynamic topic. |
public XASession | createXASession() Creates a new connection session. |
public String | getClientID() Returns the connection's client identifier. |
public ConnectionFactoryImpl | getConnectionFactory() Returns the connection factory. |
TopicSubscriber | getDurableSubscriber(String name) Gets a durable subscriber. |
public ExceptionListener | getExceptionListener() Returns the connection's exception listener. |
public ConnectionMetaData | getMetaData() Returns the connection's metadata. |
boolean | isActive() Returns true if the connection is started. |
boolean | isStopping() Returns true if the connection is stopping. |
public boolean | isXA() Returns true for an XA connection. |
TopicSubscriber | putDurableSubscriber(String name, TopicSubscriber subscriber) Adds a durable subscriber. |
TopicSubscriber | removeDurableSubscriber(String name) Removes a durable subscriber. |
void | removeSession(JmsSession session) Removes a session. |
public void | setClientID(String clientId) Sets the connections client identifier. |
public void | setExceptionListener(ExceptionListener listener) Returns the connection's exception listener. |
public void | start() Start (or restart) a connection. |
public void | stop() Stops the connection temporarily. |
public String | toString() |