P - The payload typeT - The 'data' typeH - The type of headers value@FunctionalInterface public interface DataMarshaller<P,T,H>
| Modifier and Type | Method and Description |
|---|---|
P |
marshal(T data,
Map<String,H> headers)
Marshals the 'data' into payload
|
P marshal(T data, Map<String,H> headers) throws RuntimeException
data - headers - RuntimeException - When something bad happens during the marshal processCopyright © 2019. All rights reserved.