|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.dropboxmq.sessions.XASessionImpl
net.sf.dropboxmq.sessions.XATopicSessionImpl
public class XATopicSessionImpl
Created: 30 Jul 2006
| Field Summary |
|---|
| Fields inherited from interface javax.jms.Session |
|---|
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
| Constructor Summary | |
|---|---|
XATopicSessionImpl(DropboxTransaction dropboxTransaction,
ConnectionImpl connection,
Configuration configuration)
|
|
| Method Summary | |
|---|---|
QueueBrowser |
createBrowser(Queue queue)
Creates a QueueBrowser object to peek at the messages on
the specified queue. |
QueueBrowser |
createBrowser(Queue queue,
String messageSelector)
Creates a QueueBrowser object to peek at the messages on
the specified queue using a message selector. |
Queue |
createQueue(String queueName)
Creates a queue identity given a Queue name. |
TemporaryQueue |
createTemporaryQueue()
Creates a TemporaryQueue object. |
TopicSession |
getTopicSession()
Gets the topic session associated with this XATopicSession. |
| Methods inherited from class net.sf.dropboxmq.sessions.XASessionImpl |
|---|
close, commit, createBytesMessage, createConsumer, createConsumer, createConsumer, createDurableSubscriber, createDurableSubscriber, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createStreamMessage, createTemporaryTopic, createTextMessage, createTextMessage, createTopic, getAcknowledgeMode, getMessageListener, getNonXASession, getSession, getTransacted, getXAResource, recover, rollback, run, setMessageListener, toObjectString, toString, unsubscribe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.XASession |
|---|
commit, getSession, getTransacted, getXAResource, rollback |
| Constructor Detail |
|---|
public XATopicSessionImpl(DropboxTransaction dropboxTransaction,
ConnectionImpl connection,
Configuration configuration)
| Method Detail |
|---|
public Queue createQueue(String queueName)
throws JMSException
javax.jms.SessionQueue name.
This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable.
Note that this method is not for creating the physical queue.
The physical creation of queues is an administrative task and is not
to be initiated by the JMS API. The one exception is the
creation of temporary queues, which is accomplished with the
createTemporaryQueue method.
createQueue in interface SessioncreateQueue in class XASessionImplqueueName - the name of this Queue
Queue with the given name
JMSException - if the session fails to create a queue
due to some internal error.
public QueueBrowser createBrowser(Queue queue)
throws JMSException
javax.jms.SessionQueueBrowser object to peek at the messages on
the specified queue.
createBrowser in interface SessioncreateBrowser in class XASessionImplqueue - the queue to access
JMSException - if the session fails to create a browser
due to some internal error.
public QueueBrowser createBrowser(Queue queue,
String messageSelector)
throws JMSException
javax.jms.SessionQueueBrowser object to peek at the messages on
the specified queue using a message selector.
createBrowser in interface SessioncreateBrowser in class XASessionImplqueue - the queue to accessmessageSelector - only messages with properties matching the
message selector expression are delivered. A value of null or
an empty string indicates that there is no message selector
for the message consumer.
JMSException - if the session fails to create a browser
due to some internal error.
InvalidSelectorException - if the message selector is invalid.
public TemporaryQueue createTemporaryQueue()
throws JMSException
javax.jms.SessionTemporaryQueue object. Its lifetime will be that
of the Connection unless it is deleted earlier.
createTemporaryQueue in interface SessioncreateTemporaryQueue in class XASessionImplJMSException - if the session fails to create a temporary queue
due to some internal error.
public TopicSession getTopicSession()
throws JMSException
javax.jms.XATopicSessionXATopicSession.
getTopicSession in interface XATopicSessionJMSException - if an internal error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||