Uses of Interface
org.apache.camel.Message
Packages that use 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
Methods in org.apache.camel that return MessageModifier 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.Message.newInstance()
Returns a new instance of this type.Methods in org.apache.camel with parameters of type MessageModifier 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.Constructors in org.apache.camel with parameters of type MessageModifierConstructorDescriptionInvalidPayloadException
(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
Methods in org.apache.camel.spi that return MessageModifier and TypeMethodDescriptionUnitOfWork.getOriginalInMessage()
Gets the original INMessage
this Unit of Work was started with.Methods in org.apache.camel.spi with parameters of type MessageModifier 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()