| java.lang.Object com.caucho.jms.connection.JmsSession com.caucho.jms.connection.TopicSessionImpl
TopicSessionImpl | public class TopicSessionImpl extends JmsSession implements XATopicSession,TopicSession(Code) | | A sample topic session. Lets the client create topics, browsers, etc.
|
Method Summary | |
public QueueBrowser | createBrowser(Queue queue) Creates a QueueBrowser to browse messages in the queue. | public QueueBrowser | createBrowser(Queue queue, String messageSelector) Creates a QueueBrowser to browse messages in the queue. | public TopicPublisher | createPublisher(Topic topic) Creates a TopicSender to send messages to a topic. | public Queue | createQueue(String queueName) Creates a new queue. | public TopicSubscriber | createSubscriber(Topic topic) Creates a subscriber to receive messages. | public TopicSubscriber | createSubscriber(Topic topic, String messageSelector, boolean noLocal) Creates a subscriber to receive messages. | public TemporaryQueue | createTemporaryQueue() Creates a temporary queue. | public TopicSession | getTopicSession() |
TopicSessionImpl | public TopicSessionImpl(ConnectionImpl conn, boolean isTransacted, int ackMode, boolean isXA) throws JMSException(Code) | | |
createBrowser | public QueueBrowser createBrowser(Queue queue) throws JMSException(Code) | | Creates a QueueBrowser to browse messages in the queue.
Parameters: queue - the queue to send messages to. |
createBrowser | public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException(Code) | | Creates a QueueBrowser to browse messages in the queue.
Parameters: queue - the queue to send messages to. |
createPublisher | public TopicPublisher createPublisher(Topic topic) throws JMSException(Code) | | Creates a TopicSender to send messages to a topic.
Parameters: topic - the topic to send messages to. |
createQueue | public Queue createQueue(String queueName) throws JMSException(Code) | | Creates a new queue.
|
createSubscriber | public TopicSubscriber createSubscriber(Topic topic) throws JMSException(Code) | | Creates a subscriber to receive messages.
Parameters: topic - the topic to receive messages from. |
createSubscriber | public TopicSubscriber createSubscriber(Topic topic, String messageSelector, boolean noLocal) throws JMSException(Code) | | Creates a subscriber to receive messages.
Parameters: topic - the topic to receive messages from. Parameters: messageSelector - topic to restrict the messages. Parameters: noLocal - if true, don't receive messages we've sent |
createTemporaryQueue | public TemporaryQueue createTemporaryQueue() throws JMSException(Code) | | Creates a temporary queue.
|
getTopicSession | public TopicSession getTopicSession()(Code) | | |
Methods inherited from com.caucho.jms.connection.JmsSession | public void acknowledge() throws JMSException(Code)(Java Doc) protected void addConsumer(MessageConsumerImpl consumer)(Code)(Java Doc) void addTransactedReceive(AbstractDestination queue, MessageImpl message)(Code)(Java Doc) public void checkOpen() throws javax.jms.IllegalStateException(Code)(Java Doc) void checkThread() throws JMSException(Code)(Java Doc) public void close() throws JMSException(Code)(Java Doc) public void commit() throws JMSException(Code)(Java Doc) public void commit(Xid xid, boolean onePhase) throws XAException(Code)(Java Doc) public QueueBrowser createBrowser(Queue queue) throws JMSException(Code)(Java Doc) public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException(Code)(Java Doc) public BytesMessage createBytesMessage() throws JMSException(Code)(Java Doc) public MessageConsumer createConsumer(Destination destination) throws JMSException(Code)(Java Doc) public MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException(Code)(Java Doc) public MessageConsumer createConsumer(Destination destination, String messageSelector, boolean noLocal) throws JMSException(Code)(Java Doc) public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException(Code)(Java Doc) public TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException(Code)(Java Doc) public MapMessage createMapMessage() throws JMSException(Code)(Java Doc) public Message createMessage() throws JMSException(Code)(Java Doc) public ObjectMessage createObjectMessage() throws JMSException(Code)(Java Doc) public ObjectMessage createObjectMessage(Serializable obj) throws JMSException(Code)(Java Doc) public MessageProducer createProducer(Destination destination) throws JMSException(Code)(Java Doc) public Queue createQueue(String queueName) throws JMSException(Code)(Java Doc) public StreamMessage createStreamMessage() throws JMSException(Code)(Java Doc) public TemporaryQueue createTemporaryQueue() throws JMSException(Code)(Java Doc) public TemporaryTopic createTemporaryTopic() throws JMSException(Code)(Java Doc) public TextMessage createTextMessage() throws JMSException(Code)(Java Doc) public TextMessage createTextMessage(String message) throws JMSException(Code)(Java Doc) public Topic createTopic(String topicName) throws JMSException(Code)(Java Doc) public void end(Xid xid, int flags) throws XAException(Code)(Java Doc) public void forget(Xid xid) throws XAException(Code)(Java Doc) public int getAcknowledgeMode() throws JMSException(Code)(Java Doc) ClassLoader getClassLoader()(Code)(Java Doc) public String getClientID() throws JMSException(Code)(Java Doc) ConnectionImpl getConnection()(Code)(Java Doc) public MessageListener getMessageListener() throws JMSException(Code)(Java Doc) public Session getSession()(Code)(Java Doc) public boolean getTransacted() throws JMSException(Code)(Java Doc) public int getTransactionTimeout() throws XAException(Code)(Java Doc) public XAResource getXAResource()(Code)(Java Doc) public boolean isActive()(Code)(Java Doc) boolean isAsynchronous()(Code)(Java Doc) public boolean isClosed()(Code)(Java Doc) public boolean isSameRM(XAResource xa) throws XAException(Code)(Java Doc) boolean isStopping()(Code)(Java Doc) boolean notifyMessageAvailable()(Code)(Java Doc) public int prepare(Xid xid) throws XAException(Code)(Java Doc) protected Message receive(MessageConsumerImpl consumer, long timeout) throws JMSException(Code)(Java Doc) public void recover() throws JMSException(Code)(Java Doc) public Xid[] recover(int flag) throws XAException(Code)(Java Doc) protected void removeConsumer(MessageConsumerImpl consumer)(Code)(Java Doc) public void rollback() throws JMSException(Code)(Java Doc) public void rollback(Xid xid) throws XAException(Code)(Java Doc) public void rollbackImpl() throws JMSException(Code)(Java Doc) public void run()(Code)(Java Doc) public void send(AbstractDestination queue, Message appMessage, int deliveryMode, int priority, long timeout) throws JMSException(Code)(Java Doc) void setAsynchronous()(Code)(Java Doc) public void setMessageListener(MessageListener listener) throws JMSException(Code)(Java Doc) public boolean setTransactionTimeout(int timeout) throws XAException(Code)(Java Doc) void start()(Code)(Java Doc) public void start(Xid xid, int flags) throws XAException(Code)(Java Doc) void stop()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void unsubscribe(String name) throws JMSException(Code)(Java Doc)
|
|
|