Package org.objectweb.joram.mom.dest.jms
Interface JMSConnectionsMBean
-
- All Known Implementing Classes:
JMSConnections
public interface JMSConnectionsMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddServer(String name, String cnxFactoryName)Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.voidaddServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl)Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.voidaddServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password)Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.voidaddServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password, String clientID)Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.voiddeleteServer(String name)Removes the live connection to the specified AMQP server.String[]getServerNames()Gets the list of known servers.
-
-
-
Method Detail
-
addServer
void addServer(String name, String cnxFactoryName)
Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.- Parameters:
name- the name identifying the servercnxFactoryName- the name identifying the connection factory on the JNDI server
-
addServer
void addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl)
Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.- Parameters:
name- the name identifying the servercnxFactoryName- the name identifying the connection factory on the JNDI serverjndiFactoryClass- the JNDI connection factory class namejndiUrl- the JNDI URL
-
addServer
void addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password)
Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.- Parameters:
name- the name identifying the servercnxFactoryName- the name identifying the connection factory on the JNDI serverjndiFactoryClass- the JNDI connection factory class namejndiUrl- the JNDI URLuser- user namepassword- user password
-
addServer
void addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password, String clientID)
Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.- Parameters:
name- the name identifying the servercnxFactoryName- the name identifying the connection factory on the JNDI serverjndiFactoryClass- the JNDI connection factory class namejndiUrl- the JNDI URLuser- user namepassword- user passwordclientID- the client identifier for this connection
-
deleteServer
void deleteServer(String name)
Removes the live connection to the specified AMQP server.- Parameters:
name- the name identifying the server
-
getServerNames
String[] getServerNames()
Gets the list of known servers.
-
-