Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
Modifier and Type | Method and Description |
---|---|
Object |
Message.getMandatoryBody()
Returns the body of the message as a POJO
Notice if the message body is stream based then calling this method multiple times may lead to the stream not being able to be re-read again.
|
<T> T |
Message.getMandatoryBody(Class<T> type)
Returns the mandatory body as the specified type
Notice if the message body is stream based then calling this method multiple times may lead to the stream not being able to be re-read again.
|
Modifier and Type | Method and Description |
---|---|
Object |
MessageSupport.getMandatoryBody() |
<T> T |
MessageSupport.getMandatoryBody(Class<T> type) |
Modifier and Type | Method and Description |
---|---|
static Object |
ExchangeHelper.getMandatoryInBody(Exchange exchange)
Deprecated.
|
static <T> T |
ExchangeHelper.getMandatoryInBody(Exchange exchange,
Class<T> type)
Deprecated.
|
static Object |
ExchangeHelper.getMandatoryOutBody(Exchange exchange)
Deprecated.
|
static <T> T |
ExchangeHelper.getMandatoryOutBody(Exchange exchange,
Class<T> type)
Deprecated.
|
Apache Camel