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
ConstructorDescriptionTransmogrifierAdapter
(Transmogrifier transmogrifier) Creates a newTransmogrifierAdapter
and sets the delegateTransmogrifier
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Delegates processing of input data and input parameters to aTransmogrifier
object.Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.ProcessorAdapter
input, params, process, staticParams
Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
adaptInput, adaptParams, input, params
-
Constructor Details
-
TransmogrifierAdapter
Creates a newTransmogrifierAdapter
and sets the delegateTransmogrifier
.- Parameters:
transmogrifier
- a transmogrifier.
-
-
Method Details
-
doProcess
Delegates processing of input data and input parameters to aTransmogrifier
object. The transmogrification result is written to body of the message returned byExchanges.prepareResult(Exchange)
.- Specified by:
doProcess
in classProcessorAdapter
- Parameters:
exchange
- message exchange where to write processing results.inputData
- input data.inputParams
- input parameters.
-