1 45 package org.exolab.jms.administration; 46 47 import java.util.Vector ; 48 49 import javax.jms.JMSException ; 50 51 52 60 public interface AdminConnection { 61 62 70 boolean addDurableConsumer(String topic, String name) throws JMSException ; 71 72 79 boolean durableConsumerExists(String name) throws JMSException ; 80 81 88 boolean removeDurableConsumer(String name) throws JMSException ; 89 90 97 boolean isConnected(String name) throws JMSException ; 98 99 106 boolean unregisterConsumer(String name) throws JMSException ; 107 108 116 boolean addDestination(String destination, Boolean queue) 117 throws JMSException ; 118 119 127 boolean removeDestination(String name) throws JMSException ; 128 129 136 boolean destinationExists(String name) throws JMSException ; 137 138 145 void stopServer() throws JMSException ; 146 147 153 int purgeMessages() throws JMSException ; 154 155 164 boolean addUser(String username, String password) throws JMSException ; 165 166 175 boolean changePassword(String username, String password) 176 throws JMSException ; 177 178 186 boolean removeUser(String username) throws JMSException ; 187 188 196 int getDurableConsumerMessageCount(String topic, String name) 197 throws JMSException ; 198 199 206 int getQueueMessageCount(String queue) throws JMSException ; 207 208 216 Vector getDurableConsumers(String destination) throws JMSException ; 217 218 224 Vector getAllDestinations() throws JMSException ; 225 226 232 Vector getAllUsers() throws JMSException ; 233 234 } 235 | Popular Tags |