jrun.jms.core.client
Class JmsTopicConnection
jrun.jms.core.client.JmsTopicConnection
- public class JmsTopicConnection
- Version:
- $Revision: 1.8 $ $Date: 2001/09/18 10:50:33 $
- Author:
- Jim Alateras
- See Also:
TopicConnection
|
Method Summary |
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Topic topic,
java.lang.String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.ConnectionConsumer |
createDurableConnectionConsumer(javax.jms.Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
|
javax.jms.TopicSession |
createTopicSession(boolean transacted,
int ackMode)
|
JmsTopicConnection
public JmsTopicConnection(JmsTopicConnectionFactory factory,
java.lang.String id)
throws javax.jms.JMSException
- Instantiate an instance of this connection using the specified client
identity. The client identity is immutable and once set cannot be
changed. To create a connection with another client identity the user
must create another instance of this class. The factory is the creating
entity.
If there are any problems during the creation process the JMSException
is raised
- Parameters:
factory - entity creating this objectid - client identity- Throws:
JMSException -
JmsTopicConnection
public JmsTopicConnection(JmsTopicConnectionFactory factory,
java.lang.String id,
java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
createTopicSession
public javax.jms.TopicSession createTopicSession(boolean transacted,
int ackMode)
throws javax.jms.JMSException
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Topic topic,
java.lang.String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
createDurableConnectionConsumer
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic topic,
java.lang.String subscriptionName,
java.lang.String messageSelector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
throws javax.jms.JMSException
Copyright � 2002 Macromedia Corporation. All Rights Reserved.