public class CxfPayload<T> extends Object
DataFormat.PAYLOAD is used.| Constructor and Description |
|---|
CxfPayload(List<T> headers,
List<Element> body) |
CxfPayload(List<T> headers,
List<Source> body,
Map<String,String> nsMap) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addNamespace(Element element,
Map<String,String> nsMap) |
List<Element> |
getBody()
Get the body as a List of DOM elements.
|
List<Source> |
getBodySources()
Gets the body as a List of source objects.
|
List<T> |
getHeaders() |
String |
toString()
Returns the contents as a String
Important notes:
1) This requires the message to be fully loaded breaking the streaming
2) For large messages, the result can be a VERY large String and require
large amounts of memory.
|
public List<Element> getBody()
public List<Source> getBodySources()
Apache CAMEL