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
ConstructorsConstructorDescriptionDataFormatAdapter(Converter converter) DataFormatAdapter(Parser parser) DataFormatAdapter(Parser parser, Renderer renderer) DataFormatAdapter(Renderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(Exchange exchange, Object graph, OutputStream stream) voidstart()voidstop()unmarshal(Exchange exchange, InputStream stream) Methods inherited from class org.openehealth.ipf.platform.camel.core.adapter.AdapterSupport
adaptInput, adaptParams, input, input, params, params, staticParamsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.DataFormat
unmarshal
-
Constructor Details
-
DataFormatAdapter
-
DataFormatAdapter
-
DataFormatAdapter
-
DataFormatAdapter
-
-
Method Details
-
marshal
- Specified by:
marshalin interfaceDataFormat- Throws:
Exception
-
unmarshal
- Specified by:
unmarshalin interfaceDataFormat- Throws:
Exception
-
start
public void start() -
stop
public void stop()
-