|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedExchange
The management interface exposed to allow management of an Exchange.
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 |
---|
static final String TYPE
static final String BINDING_KEY
static final String QUEUE_NAMES
static final List<String> COMPOSITE_ITEM_NAMES
static final List<String> COMPOSITE_ITEM_DESCRIPTIONS
static final List<String> TABULAR_UNIQUE_INDEX
static final String HDR_BINDING_NUMBER
static final String HDR_QUEUE_NAME
static final String HDR_QUEUE_BINDINGS
static final List<String> HEADERS_COMPOSITE_ITEM_NAMES
static final List<String> HEADERS_COMPOSITE_ITEM_DESC
static final List<String> HEADERS_TABULAR_UNIQUE_INDEX
Method Detail |
---|
String getName() throws IOException
IOException
String getExchangeType() throws IOException
IOException
Integer getTicketNo() throws IOException
IOException
boolean isDurable() throws IOException
IOException
boolean isAutoDelete() throws IOException
IOException
TabularData bindings() throws IOException, JMException
IOException
JMException
void createNewBinding(String queueName, String binding) throws JMException
queueName
- binding
-
JMException
void removeBinding(String queueName, String binding) throws IOException, JMException
exchangeName
- the Exchange nameroutingKey
- the routing key
IOException
JMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |