public interface MQSettingsDAO
Modifier and Type | Method and Description |
---|---|
Set<String> |
getBrokerConnectorURLs()
Use this this method to list all urls that the broker should be started on, hence the vm url
will not be included, since it will be available always.
|
Set<String> |
getBrokerConnectorURLsWithVM()
Use this method to list all urls that can be used to connect to the broker
|
String |
getBrokerName() |
String |
getDataDirectory() |
String |
getJmxDomainName() |
int |
getJmxPort() |
String |
getQueueName() |
String |
getReplyQueueNamePrefix() |
String |
getSSLPort() |
String |
getTcpPort() |
String |
getUrlHostname() |
String |
getVMConnectorURL() |
boolean |
isBrokerStarted() |
boolean |
isEnableSSL() |
boolean |
isEnableTCP() |
boolean |
isEnableVM()
This flag is only relevant for the adapter connecting to the broker, since the VM connection
is always available once the broker is started.
|
boolean |
isForceSSL() |
boolean |
isForceSSLClientAuthentication() |
boolean |
isJmxMonitoringEnabled() |
boolean |
isJmxRemoteEnabled() |
void |
setBrokerStarted(boolean isStarted)
sets broker's state flag
|
void |
setDataDirectory(String dataDirectoryPath)
sets data directory path
|
void |
setEnableJmxRemote(boolean enableJmx) |
void |
setEnableSSL(boolean enableSSL) |
void |
setEnableTCP(boolean enableTCP) |
void |
setEnableVM(boolean enableVM)
VM = virtual machine connector
|
void |
setForceSSL(boolean forceSSL) |
void |
setForceSSLClientAuthentication(boolean needClientAuth) |
Set<String> getBrokerConnectorURLs()
Set<String> getBrokerConnectorURLsWithVM()
isEnableVM()
is true)String getBrokerName()
String getDataDirectory()
String getJmxDomainName()
int getJmxPort()
String getQueueName()
String getReplyQueueNamePrefix()
String getSSLPort()
String getTcpPort()
String getUrlHostname()
String getVMConnectorURL()
boolean isBrokerStarted()
boolean isEnableSSL()
boolean isEnableTCP()
boolean isEnableVM()
boolean isForceSSL()
boolean isForceSSLClientAuthentication()
boolean isJmxMonitoringEnabled()
boolean isJmxRemoteEnabled()
getJmxPort()
portvoid setBrokerStarted(boolean isStarted) throws AuthorizationException
isStarted
- the flag valueAuthorizationException
void setDataDirectory(String dataDirectoryPath) throws AuthorizationException
dataDirectoryPath
- path to setAuthorizationException
void setEnableJmxRemote(boolean enableJmx) throws AuthorizationException
enableJmx
- the enableJmx to setAuthorizationException
void setEnableSSL(boolean enableSSL) throws AuthorizationException
enableSSL
- true to enable the ssl connectorAuthorizationException
void setEnableTCP(boolean enableTCP) throws AuthorizationException
enableTCP
- true to enable tcpAuthorizationException
void setEnableVM(boolean enableVM) throws AuthorizationException
enableVM
- true to enable vm (which actually only relevant for the embedded adapter)AuthorizationException
void setForceSSL(boolean forceSSL) throws AuthorizationException
forceSSL
- the forceSSL to setAuthorizationException
void setForceSSLClientAuthentication(boolean needClientAuth) throws AuthorizationException
needClientAuth
- true if a client auth by certificate is expected on connecting to the brokerAuthorizationException
Copyright © 2019 Communote team. All rights reserved.