Class TransmogrifierAdapter
java.lang.Object
org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
org.openehealth.ipf.platform.camel.core.adapter.ProcessorAdapter
org.openehealth.ipf.platform.camel.core.adapter.TransmogrifierAdapter
Adapts a
Transmogrifier.- Author:
- Martin Krasser
-
Constructor Summary
ConstructorsConstructorDescriptionTransmogrifierAdapter(Transmogrifier transmogrifier) Creates a newTransmogrifierAdapterand sets the delegateTransmogrifier. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDelegates processing of input data and input parameters to aTransmogrifierobject.Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.ProcessorAdapter
input, params, process, staticParamsMethods inherited from class org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
adaptInput, adaptParams, input, params
-
Constructor Details
-
TransmogrifierAdapter
Creates a newTransmogrifierAdapterand sets the delegateTransmogrifier.- Parameters:
transmogrifier- a transmogrifier.
-
-
Method Details
-
doProcess
Delegates processing of input data and input parameters to aTransmogrifierobject. The transmogrification result is written to body of the message returned byExchanges.prepareResult(Exchange).- Specified by:
doProcessin classProcessorAdapter- Parameters:
exchange- message exchange where to write processing results.inputData- input data.inputParams- input parameters.
-