Uses of Interface
org.apache.camel.Message
-
Packages that use Message 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. -
-
Uses of Message in org.apache.camel
Methods in org.apache.camel that return Message Modifier and Type Method 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 messageMessage
Exchange. getMessage()
Returns the current messageMessage
MessageHistory. getMessage()
A read-only copy of the message at the point of this history (if this has been enabled).Message
Exchange. getOut()
Deprecated.Methods in org.apache.camel with parameters of type Message Modifier and Type Method Description void
Message. copyFrom(Message message)
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
Exchange. setIn(Message in)
Sets the inbound message instancevoid
Exchange. setMessage(Message message)
Replace the current message instance.void
Exchange. setOut(Message out)
Deprecated.Constructors in org.apache.camel with parameters of type Message Constructor 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)
-
Uses of Message in org.apache.camel.spi
Methods in org.apache.camel.spi that return Message Modifier and Type Method Description Message
UnitOfWork. getOriginalInMessage()
Gets the original INMessage
this Unit of Work was started with.Methods in org.apache.camel.spi with parameters of type Message Modifier and Type Method 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.
-