public class AdminServletMgrEE extends AdminServletMgr implements AdminServletMgrIf
AdminBaseMgr.StaticData
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
brokerURL |
protected AdminEngineCacheMgrIf |
engMgr
Admin Engine Cache Mgr
|
protected static org.apache.commons.logging.Log |
log
the log
|
private long |
mqInitialPauseMillis |
private java.lang.String |
mqPassword |
private long |
mqReadFrequencyMillis |
private long |
mqReadTimeoutMillis |
private java.lang.String |
mqUserName |
private static java.lang.String |
mutex |
private ERPQueueReader |
qr |
erpInputQueue, erpOutputQueuePrefix
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminServletMgrEE(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AdminEngineCacheMgrIf |
getEngMgr() |
java.lang.String |
processExportMsg(java.lang.String msgIn)
Before sending to queue we have to add an outer messages tag as well as an XML header
|
void |
setEngMgr(AdminEngineCacheMgrIf engMgr) |
void |
shutdown()
Shutdown the QueueReader
|
void |
startUp()
Initialise MQ and Start up the read Queue
|
void |
writeToQueue(java.lang.String storeId,
java.lang.String msg)
Method to post data to a queue based on the storeId
|
getErpInputQueue, getERPOutputQueuePrefix, getKKEngPropertiesFile, setErpInputQueue, setERPOutputQueuePrefix, setKKEngPropertiesFile
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, refreshConfigs, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErpInputQueue, getERPOutputQueuePrefix, getKKEngPropertiesFile, setErpInputQueue, setERPOutputQueuePrefix, setKKEngPropertiesFile
protected static org.apache.commons.logging.Log log
private static final java.lang.String mutex
private java.lang.String brokerURL
private java.lang.String mqUserName
private java.lang.String mqPassword
private long mqReadFrequencyMillis
private long mqReadTimeoutMillis
private long mqInitialPauseMillis
private ERPQueueReader qr
protected AdminEngineCacheMgrIf engMgr
public AdminServletMgrEE(KKAdminIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic void startUp() throws java.lang.Exception
startUp
in interface AdminServletMgrIf
startUp
in class AdminServletMgr
java.lang.Exception
- an unexpected exceptionpublic void shutdown() throws KKAdminException
shutdown
in interface AdminServletMgrIf
shutdown
in class AdminServletMgr
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void writeToQueue(java.lang.String storeId, java.lang.String msg) throws java.lang.Exception
writeToQueue
in interface AdminServletMgrIf
writeToQueue
in class AdminServletMgr
storeId
- the storeIdmsg
- the msgjava.lang.Exception
- an unexpected exceptionpublic java.lang.String processExportMsg(java.lang.String msgIn) throws KKAdminException
processExportMsg
in interface AdminServletMgrIf
processExportMsg
in class AdminServletMgr
msgIn
- the msgInKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic AdminEngineCacheMgrIf getEngMgr() throws KKAdminException
getEngMgr
in interface AdminServletMgrIf
getEngMgr
in class AdminServletMgr
KKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void setEngMgr(AdminEngineCacheMgrIf engMgr) throws KKAdminException
setEngMgr
in interface AdminServletMgrIf
setEngMgr
in class AdminServletMgr
engMgr
- the engMgr to setKKAdminException
- unexpected exception in the KonaKart Admin EngineCopyright © 2018 DS Data Systems UK Ltd.