1 23 24 25 package javax.jms; 26 27 51 52 public interface TopicConnection extends Connection { 53 54 74 75 TopicSession 76 createTopicSession(boolean transacted, 77 int acknowledgeMode) throws JMSException ; 78 79 80 104 105 ConnectionConsumer 106 createConnectionConsumer(Topic topic, 107 String messageSelector, 108 ServerSessionPool sessionPool, 109 int maxMessages) 110 throws JMSException ; 111 112 113 138 139 ConnectionConsumer 140 createDurableConnectionConsumer(Topic topic, 141 String subscriptionName, 142 String messageSelector, 143 ServerSessionPool sessionPool, 144 int maxMessages) 145 throws JMSException ; 146 } 147 | Popular Tags |