Class DataFormatAdapter
java.lang.Object
org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
org.openehealth.ipf.platform.camel.core.adapter.DataFormatAdapter
- All Implemented Interfaces:
AutoCloseable
,Service
,DataFormat
,Adapter
- Author:
- Martin Krasser
-
Constructor Summary
ConstructorDescriptionDataFormatAdapter
(Converter converter) DataFormatAdapter
(Parser parser) DataFormatAdapter
(Parser parser, Renderer renderer) DataFormatAdapter
(Renderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
marshal
(Exchange exchange, Object graph, OutputStream stream) void
start()
void
stop()
unmarshal
(Exchange exchange, InputStream stream) Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
adaptInput, adaptParams, input, input, params, params, staticParams
-
Constructor Details
-
DataFormatAdapter
-
DataFormatAdapter
-
DataFormatAdapter
-
DataFormatAdapter
-
-
Method Details
-
marshal
- Specified by:
marshal
in interfaceDataFormat
- Throws:
Exception
-
unmarshal
- Specified by:
unmarshal
in interfaceDataFormat
- Throws:
Exception
-
start
public void start() -
stop
public void stop()
-