| java.lang.Object org.objectweb.jonas_jms.JConnection org.objectweb.jonas_jms.JTopicConnection
JTopicConnection | public class JTopicConnection extends JConnection implements TopicConnection(Code) | | |
Field Summary | |
protected XATopicConnection | xatc |
Method Summary | |
public ConnectionConsumer | createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) | public TopicSession | createTopicSession(boolean transacted, int acknowledgeMode) Create a TopicSession
Parameters: transacted - - if true, the session is transacted. Parameters: acknowledgeMode - - indicates whether the consumer or the client will acknowledge any messages it receives.This parameter will be ignored if the session is transacted. |
xatc | protected XATopicConnection xatc(Code) | | |
JTopicConnection | public JTopicConnection(JConnectionFactory jcf, XATopicConnectionFactory xatcf, String user, String passwd) throws JMSException(Code) | | Constructor of a JTopicConnection for a specified user.
Parameters: user - user's name Parameters: passwd - user's password |
JTopicConnection | public JTopicConnection(JConnectionFactory jcf, XATopicConnectionFactory xatcf) throws JMSException(Code) | | Constructor of a JQueueConnection for an anonymous user.
|
createConnectionConsumer | public ConnectionConsumer createConnectionConsumer(Topic topic, String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException(Code) | | throws: JMSException - - if JMS Connection fails to create a ConnectionConsumer |
createTopicSession | public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException(Code) | | Create a TopicSession
Parameters: transacted - - if true, the session is transacted. Parameters: acknowledgeMode - - indicates whether the consumer or the client will acknowledge any messages it receives.This parameter will be ignored if the session is transacted. a newly created topic session. throws: JMSException - - if JMS Connection fails to create a session. |
|
|