Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.spi |
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
Message |
Message.copy()
Creates a copy of this message so that it can be used and possibly
modified further in another exchange.
|
Message |
Exchange.getIn()
Returns the inbound request message
|
Message |
MessageHistory.getMessage()
A read-only copy of the message at the point of this history (if this has been enabled).
|
Message |
Exchange.getMessage()
Returns the current message
|
Message |
Exchange.getOut()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Message.copyFrom(Message message)
Copies the contents of the other message into this message
If you need to do a copy and then set a new body,
then use
copyFromWithNewBody(Message, Object) method instead. |
void |
Message.copyFromWithNewBody(Message message,
Object newBody)
|
void |
Exchange.setIn(Message in)
Sets the inbound message instance
|
void |
Exchange.setMessage(Message message)
Replace the current message instance.
|
void |
Exchange.setOut(Message out)
Deprecated.
|
Constructor and Description |
---|
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message) |
InvalidPayloadException(Exchange exchange,
Class<?> type,
Message message,
Throwable cause) |
InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type,
Message message) |
InvalidPayloadRuntimeException(Exchange exchange,
Class<?> type,
Message message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Message |
UnitOfWork.getOriginalInMessage()
Gets the original IN
Message this Unit of Work was started with. |
Modifier and Type | Method and Description |
---|---|
abstract void |
Transformer.transform(Message message,
DataType from,
DataType to)
Perform data transformation with specified from/to type.
|
abstract void |
Validator.validate(Message message,
DataType type)
Perform data validation with specified type.
|
Apache Camel