public interface JMSConnectionsMBean
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
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 cnxFactoryName)
name
- the name identifying the servercnxFactoryName
- the name identifying the connection factory on the
JNDI servervoid addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl)
name
- the name identifying the servercnxFactoryName
- the name identifying the connection factory on the
JNDI serverjndiFactoryClass
- the JNDI connection factory class namejndiUrl
- the JNDI URLvoid addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password)
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 passwordvoid addServer(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password, String clientID)
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 connectionvoid deleteServer(String name)
name
- the name identifying the serverString[] getServerNames()
Copyright © 2016 ScalAgent D.T.. All Rights Reserved.