Uses of Interface
org.apache.camel.Message
Packages that use Message
-
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 message@Nullable 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 TypeMethodDescriptionvoidCopies the contents of the other message into this messagevoidMessage.copyFromWithNewBody(Message message, @Nullable Object newBody) Copies the contents (except the body) of the other message into this message and uses the provided new body insteadbooleanExchangeExtension.isExternalRedelivered(Message message) Returns true if this exchange is an external initiated redelivered message (such as a JMS broker).voidSets the inbound message instancevoidExchange.setMessage(Message message) Replace the current message instance.voidDeprecated.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 TypeMethodDescription@Nullable MessageUnitOfWork.getOriginalInMessage()Gets the original INMessagethis Unit of Work was started with.Methods in org.apache.camel.spi with parameters of type MessageModifier and TypeMethodDescription@Nullable StreamCacheCaches the body as aStreamCache.longMessageSizeStrategy.computeBodySize(Message message) Computes the size of the message body in bytes.longMessageSizeStrategy.computeHeadersSize(Message message) Computes the total size of all message headers in bytes (keys and values).abstract voidPerform data transformation with specified from/to type.abstract voidPerform data validation with specified type.
Exchange.getMessage()