Uses of Interface
org.apache.camel.Message
Package
Description
The core Camel API.
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of Message in org.apache.camel
Modifier and TypeMethodDescriptionMessage.copy()
Creates a copy of this message so that it can be used and possibly modified further in another exchange.Exchange.getIn()
Returns the inbound request messageExchange.getMessage()
Returns the current messageMessageHistory.getMessage()
A read-only copy of the message at the point of this history (if this has been enabled).Exchange.getOut()
Deprecated.Modifier and TypeMethodDescriptionvoid
Copies the contents of the other message into this messagevoid
Message.copyFromWithNewBody
(Message message, Object newBody) Copies the contents (except the body) of the other message into this message and uses the provided new body insteadvoid
Sets the inbound message instancevoid
Exchange.setMessage
(Message message) Replace the current message instance.void
Deprecated.ModifierConstructorDescriptionInvalidPayloadException
(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) -
Uses of Message in org.apache.camel.spi
Modifier and TypeMethodDescriptionUnitOfWork.getOriginalInMessage()
Gets the original INMessage
this Unit of Work was started with.Modifier and TypeMethodDescriptionCaches the body aas aStreamCache
.abstract void
Perform data transformation with specified from/to type.abstract void
Perform data validation with specified type.
Exchange.getMessage()