|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedBroker
The ManagedBroker is the management interface to expose management features of the Broker.
Field Summary | |
---|---|
static String |
TYPE
|
Method Summary | |
---|---|
void |
createNewExchange(String name,
String type,
boolean durable)
Creates a new Exchange. |
void |
createNewQueue(String queueName,
String owner,
boolean durable)
Create a new Queue on the Broker server. |
void |
deleteQueue(String queueName)
Unregisters the Queue bindings, removes the subscriptions and unregisters from the managed objects. |
String[] |
getExchangeTypes()
Returns an array of the exchange types available for creation. |
List<String> |
retrieveQueueAttributeNames()
Returns a list containing the names of the attributes available for the Queue mbeans. |
List<List<Object>> |
retrieveQueueAttributeValues(String[] attributes)
Returns a List of Object Lists containing the requested attribute values (in the same sequence requested) for each queue in the virtualhost. |
void |
unregisterExchange(String exchange)
unregisters all the channels, queuebindings etc and unregisters this exchange from managed objects. |
Field Detail |
---|
static final String TYPE
Method Detail |
---|
String[] getExchangeTypes() throws IOException
IOException
List<String> retrieveQueueAttributeNames() throws IOException
IOException
List<List<Object>> retrieveQueueAttributeValues(String[] attributes) throws IOException
IOException
void createNewExchange(String name, String type, boolean durable) throws IOException, JMException, MBeanException
name
- type
- durable
-
IOException
JMException
MBeanException
void unregisterExchange(String exchange) throws IOException, JMException, MBeanException
exchange
-
IOException
JMException
MBeanException
void createNewQueue(String queueName, String owner, boolean durable) throws IOException, JMException, MBeanException
queueName
- durable
- owner
-
IOException
JMException
MBeanException
void deleteQueue(String queueName) throws IOException, JMException, MBeanException
queueName
-
IOException
JMException
MBeanException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |