public class DataFlowWorker extends DataFlowServiceBase
| Modifier and Type | Field and Description |
|---|---|
protected ClassCache |
classCache |
protected static DataFlowFactory |
dataFlowFactory |
protected DataFlowQueue |
dataFlowQueue |
protected MessageIntf |
initMessage |
protected Object |
payLoadObject |
protected SchemaConfigIntf |
schemaConfig |
BOOLEAN_FALSE, BOOLEAN_TRUE, databasePoolName, engine, message, paramList, workerServiceLOG_PARAM_LOGFIELDS, LOG_PARAM_LOGMESSAGE, LOG_PARAM_LOGTYPE, LOG_TYPE_DEBUG, LOG_TYPE_ERROR, LOG_TYPE_INFO, LOG_TYPE_SYSTEM_OUT, LOG_TYPE_WARN| Constructor and Description |
|---|
DataFlowWorker()
Creates a DataFlowEngine.
|
| Modifier and Type | Method and Description |
|---|---|
ServicesIntf |
cloneService() |
String |
convertTemplateMessage(MessageIntf aMsg,
String aTemplate,
List<String> aFields) |
int |
getDefError() |
Object |
getFieldDataFromMsg(MessageIntf aMsg,
String aFieldKey) |
void |
loadJob(String aJobName) |
boolean |
processForkDataFlow(DataFlowMessage aMsg) |
MessageIntf |
processJob(MessageIntf aMsg) |
boolean |
routeJob(MessageIntf aMsg) |
MessageIntf |
runService() |
convertTemplate, getMessage, getServiceDisplayName, getServiceName, init, resetService, runServicePost, runServicePre, setFunctionParams, setMessage, setServiceDisplayName, setServiceName, shutdownprotected Object payLoadObject
protected SchemaConfigIntf schemaConfig
protected MessageIntf initMessage
protected static DataFlowFactory dataFlowFactory
protected ClassCache classCache
protected DataFlowQueue dataFlowQueue
public MessageIntf runService()
runService in interface ServicesIntfrunService in class DataFlowServiceBasepublic MessageIntf processJob(MessageIntf aMsg) throws Exception
Exceptionpublic boolean processForkDataFlow(DataFlowMessage aMsg) throws Exception
Exceptionpublic Object getFieldDataFromMsg(MessageIntf aMsg, String aFieldKey) throws Exception
getFieldDataFromMsg in interface ServicesIntfgetFieldDataFromMsg in class DataFlowServiceBaseExceptionpublic String convertTemplateMessage(MessageIntf aMsg, String aTemplate, List<String> aFields)
convertTemplateMessage in interface ServicesIntfconvertTemplateMessage in class DataFlowServiceBasepublic boolean routeJob(MessageIntf aMsg) throws Exception
Exceptionpublic int getDefError()
public ServicesIntf cloneService() throws Exception
cloneService in interface ServicesIntfcloneService in class DataFlowServiceBaseExceptionCopyright © 2020. All rights reserved.