| java.lang.Object org.objectweb.celtix.bus.transports.jms.PooledSession
PooledSession | public class PooledSession (Code) | | Encapsulates pooled session, unidentified producer, destination &
associated consumer (certain elements may be null depending on the
context).
Currently only the point-to-point domain is supported,
though the intention is to genericize this to the pub-sub domain
also.
author: Eoghan Glynn |
Constructor Summary | |
| PooledSession(Session session, Destination destination, MessageProducer producer, MessageConsumer consumer) Constructor. |
PooledSession | PooledSession(Session session, Destination destination, MessageProducer producer, MessageConsumer consumer)(Code) | | Constructor.
|
close | void close() throws JMSException(Code) | | |
consumer | MessageConsumer consumer()(Code) | | the per-destination consumer |
consumer | void consumer(MessageConsumer consumer)(Code) | | Parameters: consumer - the consumer to encapsulate |
destination | Destination destination()(Code) | | the destination associated with the consumer |
destination | void destination(Destination destination)(Code) | | Parameters: destination - the destination to encapsulate |
getCorrelationID | String getCorrelationID() throws JMSException(Code) | | messageSelector if any set. |
producer | MessageProducer producer()(Code) | | the unidentified producer |
session | Session session()(Code) | | the pooled JMS Session |
|
|