public class TransmogrifierAdapter extends ProcessorAdapter
Transmogrifier
.Constructor and Description |
---|
TransmogrifierAdapter(Transmogrifier transmogrifier)
Creates a new
TransmogrifierAdapter and sets the delegate
Transmogrifier . |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcess(org.apache.camel.Exchange exchange,
Object inputData,
Object... inputParams)
Delegates processing of input data and input parameters to a
Transmogrifier object. |
input, params, process, staticParams
adaptInput, adaptParams, input, params
public TransmogrifierAdapter(Transmogrifier transmogrifier)
TransmogrifierAdapter
and sets the delegate
Transmogrifier
.transmogrifier
- a transmogrifier.protected void doProcess(org.apache.camel.Exchange exchange, Object inputData, Object... inputParams) throws Exception
Transmogrifier
object. The transmogrification result is written
to body of the message returned by
Exchanges.prepareResult(Exchange)
.doProcess
in class ProcessorAdapter
exchange
- message exchange where to write processing results.inputData
- input data.inputParams
- input parameters.Exception
- if a processing error occurs.Copyright © 2018 Open eHealth Foundation. All rights reserved.