|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AmqpConnectionHandlerMBean
Method Summary | |
---|---|
void |
addServer(com.rabbitmq.client.ConnectionFactory factory)
Adds an AMQP server and starts a live connection with it, accessible via the ConnectionFactory provided. |
void |
addServer(java.lang.String host,
int port)
Adds an AMQP server and starts a live connection with it, accessible via the ConnectionFactory provided. |
void |
addServer(java.lang.String host,
int port,
java.lang.String user,
java.lang.String pass)
Adds an AMQP server and starts a live connection with it, accessible via the ConnectionFactory provided. |
void |
deleteServer(java.lang.String host,
int port)
Removes the live connection to the specified AMQP server. |
Method Detail |
---|
void addServer(com.rabbitmq.client.ConnectionFactory factory)
ConnectionFactory
provided. A server is uniquely identified
with its host and port. Adding an existing server won't do anything.
factory
- the factory used to access the server, configured properly
(host, port, login, password...)void addServer(java.lang.String host, int port)
ConnectionFactory
provided. A server is uniquely identified
with its host and port. Adding an existing server won't do anything.
host
- host of the added serverport
- port of the added servervoid addServer(java.lang.String host, int port, java.lang.String user, java.lang.String pass)
ConnectionFactory
provided. A server is uniquely identified
with its host and port. Adding an existing server won't do anything.
host
- host of the added serverport
- port of the added serveruser
- user namepass
- user passwordvoid deleteServer(java.lang.String host, int port)
host
- host of the removed serverport
- port of the removed server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |