public interface Broker extends MessageStream
Modifier and Type | Method and Description |
---|---|
void |
addMailbox(java.lang.String address,
Mailbox mailbox)
Adds a mailbox (optional operation).
|
void |
close()
Close the Broker
|
Mailbox |
getBrokerMailbox()
Returns the mailbox to the broker itself.
|
Mailbox |
getMailbox(java.lang.String address)
Returns a mailbox for the given address, or null if the mailbox does not exist.
|
BamQueueFullHandler |
getQueueFullHandler() |
void |
removeMailbox(Mailbox mailbox)
Removes a mailbox (optional operation).
|
getAddress, getBroker, isClosed, message, messageError, query, queryError, queryResult
Mailbox getBrokerMailbox()
BamQueueFullHandler getQueueFullHandler()
Mailbox getMailbox(java.lang.String address)
address
- the address of the mailboxvoid addMailbox(java.lang.String address, Mailbox mailbox)
void removeMailbox(Mailbox mailbox)
void close()