public class KKMQServer
extends javax.servlet.http.HttpServlet
This server runs an embedded Apache MQ broker which can used by the KonaKart Admin engine as well as the application engine.
Modifier and Type | Class and Description |
---|---|
protected class |
KKMQServer.Connector
Used to store data about a Connector
|
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
KKMQServer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
java.lang.String |
getMqAdminPassword() |
java.lang.String |
getMqAdminUserName() |
int |
getMqJMXRMIPort() |
java.lang.String |
getMqKonaKartQStub() |
java.lang.String |
getMqMemoryLimitMB() |
java.lang.String |
getMqName() |
java.lang.String |
getMqPropertiesFile() |
java.lang.String |
getMqStoreLimitMB() |
java.lang.String |
getMqTempLimitMB() |
java.lang.String |
getMqUri() |
java.lang.String |
getMqUserPassword() |
java.lang.String |
getMqUserUserName() |
void |
init(javax.servlet.ServletConfig config)
Initialise the servlet.
|
boolean |
isMqEnabled() |
boolean |
isMqRandomConnectorNames() |
boolean |
isMqSchedulerSupport() |
void |
setMqAdminPassword(java.lang.String mqAdminPassword) |
void |
setMqAdminUserName(java.lang.String mqAdminUserName) |
void |
setMqEnabled(boolean mqEnabled) |
void |
setMqJMXRMIPort(int mqJMXRMIPort) |
void |
setMqKonaKartQStub(java.lang.String mqKonaKartQStub) |
void |
setMqMemoryLimitMB(java.lang.String mqMemoryLimitMB) |
void |
setMqName(java.lang.String mqName) |
void |
setMqPropertiesFile(java.lang.String mqPropertiesFile) |
void |
setMqRandomConnectorNames(boolean mqRandomConnectorNames) |
void |
setMqSchedulerSupport(boolean mqSchedulerSupport) |
void |
setMqStoreLimitMB(java.lang.String mqStoreLimitMB) |
void |
setMqTempLimitMB(java.lang.String mqTempLimitMB) |
void |
setMqUri(java.lang.String mqUri) |
void |
setMqUserPassword(java.lang.String mqUserPassword) |
void |
setMqUserUserName(java.lang.String mqUserUserName) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public KKMQServer() throws java.rmi.RemoteException, java.net.MalformedURLException, com.konakart.app.KKException
java.rmi.RemoteException
- an unexpected RemoteException exceptionjava.net.MalformedURLException
- an unexpected MalformedURLException exceptioncom.konakart.app.KKException
- an unexpected KKException exceptionpublic void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- the configjavax.servlet.ServletException
- an unexpected ServletException exceptionpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public boolean isMqEnabled()
public void setMqEnabled(boolean mqEnabled)
mqEnabled
- the mqEnabled to setpublic java.lang.String getMqName()
public void setMqName(java.lang.String mqName)
mqName
- the mqName to setpublic java.lang.String getMqUri()
public void setMqUri(java.lang.String mqUri)
mqUri
- the mqUri to setpublic java.lang.String getMqAdminUserName()
public void setMqAdminUserName(java.lang.String mqAdminUserName)
mqAdminUserName
- the mqAdminUserName to setpublic java.lang.String getMqAdminPassword()
public void setMqAdminPassword(java.lang.String mqAdminPassword)
mqAdminPassword
- the mqAdminPassword to setpublic java.lang.String getMqUserUserName()
public void setMqUserUserName(java.lang.String mqUserUserName)
mqUserUserName
- the mqUserUserName to setpublic java.lang.String getMqUserPassword()
public void setMqUserPassword(java.lang.String mqUserPassword)
mqUserPassword
- the mqUserPassword to setpublic java.lang.String getMqKonaKartQStub()
public void setMqKonaKartQStub(java.lang.String mqKonaKartQStub)
mqKonaKartQStub
- the mqKonaKartQStub to setpublic java.lang.String getMqStoreLimitMB()
public void setMqStoreLimitMB(java.lang.String mqStoreLimitMB)
mqStoreLimitMB
- the mqStoreLimitMB to setpublic java.lang.String getMqTempLimitMB()
public void setMqTempLimitMB(java.lang.String mqTempLimitMB)
mqTempLimitMB
- the mqTempLimitMB to setpublic java.lang.String getMqMemoryLimitMB()
public void setMqMemoryLimitMB(java.lang.String mqMemoryLimitMB)
mqMemoryLimitMB
- the mqMemoryLimitMB to setpublic int getMqJMXRMIPort()
public void setMqJMXRMIPort(int mqJMXRMIPort)
mqJMXRMIPort
- the mqJMXRMIPort to setpublic java.lang.String getMqPropertiesFile()
public void setMqPropertiesFile(java.lang.String mqPropertiesFile)
mqPropertiesFile
- the mqPropertiesFile to setpublic boolean isMqRandomConnectorNames()
public void setMqRandomConnectorNames(boolean mqRandomConnectorNames)
mqRandomConnectorNames
- the mqRandomConnectorNames to setpublic boolean isMqSchedulerSupport()
public void setMqSchedulerSupport(boolean mqSchedulerSupport)
mqSchedulerSupport
- the mqSchedulerSupport to setCopyright © 2018 DS Data Systems UK Ltd.