Package io.operon.camel
Class OperonProcessor
- java.lang.Object
-
- io.operon.camel.OperonProcessor
-
- All Implemented Interfaces:
org.apache.camel.Processor
public class OperonProcessor extends Object implements org.apache.camel.Processor
-
-
Constructor Summary
Constructors Constructor Description OperonProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInputMimeType()List<String>getModulesPaths()StringgetOperonFile()StringgetOperonScript()StringgetOutputMimeType()org.apache.camel.ProducerTemplategetProducerTemplate()voidinit()booleanisDebug()voidprocess(org.apache.camel.Exchange exchange)ObjectprocessMapping(org.apache.camel.Exchange exchange)ObjectprocessMapping(org.apache.camel.Exchange exchange, io.operon.runner.model.OperonConfigs operonConfigs, String _inputMimeType, String _outputMimeType)voidsetDebug(boolean debug)voidsetInputMimeType(String inputMimeType)voidsetModulePaths(List<String> mp)voidsetOperonFile(String operonFile)voidsetOperonScript(String operonScript)voidsetOutputMimeType(String outputMimeType)voidsetProducerTemplate(org.apache.camel.ProducerTemplate pt)
-
-
-
Method Detail
-
process
public void process(org.apache.camel.Exchange exchange) throws Exception- Specified by:
processin interfaceorg.apache.camel.Processor- Throws:
Exception
-
getInputMimeType
public String getInputMimeType()
-
setInputMimeType
public void setInputMimeType(String inputMimeType)
-
getOutputMimeType
public String getOutputMimeType()
-
setOutputMimeType
public void setOutputMimeType(String outputMimeType)
-
getOperonFile
public String getOperonFile()
-
setOperonFile
public void setOperonFile(String operonFile)
-
getOperonScript
public String getOperonScript()
-
setOperonScript
public void setOperonScript(String operonScript)
-
processMapping
public Object processMapping(org.apache.camel.Exchange exchange) throws Exception
- Throws:
Exception
-
processMapping
public Object processMapping(org.apache.camel.Exchange exchange, io.operon.runner.model.OperonConfigs operonConfigs, String _inputMimeType, String _outputMimeType) throws Exception
- Throws:
Exception
-
setProducerTemplate
public void setProducerTemplate(org.apache.camel.ProducerTemplate pt)
-
getProducerTemplate
public org.apache.camel.ProducerTemplate getProducerTemplate()
-
setDebug
public void setDebug(boolean debug)
-
isDebug
public boolean isDebug()
-
-