public interface AmqpConnectionsMBean
Modifier and Type | Method and Description |
---|---|
void |
addServer(String name,
String host,
int port)
Adds an AMQP server and starts a live connection with it, accessible via
the host and port provided.
|
void |
addServer(String name,
String host,
int port,
String user,
String pass)
Adds an AMQP server and starts a live connection with it, accessible via
the host and port provided.
|
void |
deleteServer(String name)
Removes the live connection to the specified AMQP server.
|
String[] |
getServerNames()
Gets the list of known servers.
|
void addServer(String name, String host, int port)
name
- the name identifying the serverhost
- host of the added serverport
- port of the added servervoid addServer(String name, String host, int port, String user, String pass)
name
- the name identifying the serverhost
- host of the added serverport
- port of the added serveruser
- user namepass
- user passwordvoid deleteServer(String name)
name
- the name identifying the serverString[] getServerNames()
Copyright © 2016 ScalAgent D.T.. All Rights Reserved.