org.apache.qpid.management.common.mbeans
Interface ManagedExchange


public interface ManagedExchange

The management interface exposed to allow management of an Exchange.

Version:
1.8

Field Summary
static String BINDING_KEY
           
static List<String> COMPOSITE_ITEM_DESCRIPTIONS
           
static List<String> COMPOSITE_ITEM_NAMES
           
static String HDR_BINDING_NUMBER
           
static String HDR_QUEUE_BINDINGS
           
static String HDR_QUEUE_NAME
           
static List<String> HEADERS_COMPOSITE_ITEM_DESC
           
static List<String> HEADERS_COMPOSITE_ITEM_NAMES
           
static List<String> HEADERS_TABULAR_UNIQUE_INDEX
           
static String QUEUE_NAMES
           
static List<String> TABULAR_UNIQUE_INDEX
           
static String TYPE
           
 
Method Summary
 TabularData bindings()
          Returns all the bindings this exchange has with the queues.
 void createNewBinding(String queueName, String binding)
          Creates new binding with the given queue and binding.
 String getExchangeType()
           
 String getName()
          Returns the name of the managed exchange.
 Integer getTicketNo()
           
 boolean isAutoDelete()
          Tells if the exchange is set for autodelete or not.
 boolean isDurable()
          Tells if the exchange is durable or not.
 void removeBinding(String queueName, String binding)
          Removes an exchange binding from a queue.
 

Field Detail

TYPE

static final String TYPE
See Also:
Constant Field Values

BINDING_KEY

static final String BINDING_KEY
See Also:
Constant Field Values

QUEUE_NAMES

static final String QUEUE_NAMES
See Also:
Constant Field Values

COMPOSITE_ITEM_NAMES

static final List<String> COMPOSITE_ITEM_NAMES

COMPOSITE_ITEM_DESCRIPTIONS

static final List<String> COMPOSITE_ITEM_DESCRIPTIONS

TABULAR_UNIQUE_INDEX

static final List<String> TABULAR_UNIQUE_INDEX

HDR_BINDING_NUMBER

static final String HDR_BINDING_NUMBER
See Also:
Constant Field Values

HDR_QUEUE_NAME

static final String HDR_QUEUE_NAME
See Also:
Constant Field Values

HDR_QUEUE_BINDINGS

static final String HDR_QUEUE_BINDINGS
See Also:
Constant Field Values

HEADERS_COMPOSITE_ITEM_NAMES

static final List<String> HEADERS_COMPOSITE_ITEM_NAMES

HEADERS_COMPOSITE_ITEM_DESC

static final List<String> HEADERS_COMPOSITE_ITEM_DESC

HEADERS_TABULAR_UNIQUE_INDEX

static final List<String> HEADERS_TABULAR_UNIQUE_INDEX
Method Detail

getName

String getName()
               throws IOException
Returns the name of the managed exchange.

Returns:
the name of the exchange.
Throws:
IOException

getExchangeType

String getExchangeType()
                       throws IOException
Throws:
IOException

getTicketNo

Integer getTicketNo()
                    throws IOException
Throws:
IOException

isDurable

boolean isDurable()
                  throws IOException
Tells if the exchange is durable or not.

Returns:
true if the exchange is durable.
Throws:
IOException

isAutoDelete

boolean isAutoDelete()
                     throws IOException
Tells if the exchange is set for autodelete or not.

Returns:
true if the exchange is set as autodelete.
Throws:
IOException

bindings

TabularData bindings()
                     throws IOException,
                            JMException
Returns all the bindings this exchange has with the queues.

Returns:
the bindings with the exchange.
Throws:
IOException
JMException

createNewBinding

void createNewBinding(String queueName,
                      String binding)
                      throws JMException
Creates new binding with the given queue and binding.

Parameters:
queueName -
binding -
Throws:
JMException

removeBinding

void removeBinding(String queueName,
                   String binding)
                   throws IOException,
                          JMException
Removes an exchange binding from a queue.

Parameters:
exchangeName - the Exchange name
routingKey - the routing key
Throws:
IOException
JMException
Since:
Qpid JMX API 1.8


Licensed to the Apache Software Foundation