Uses of Interface
org.apache.camel.Message

Packages that use Message
org.apache.camel The core Camel API. 
org.apache.camel.builder.xml Support for XPath based Expressions and Predicates as well as an XSLT processor 
org.apache.camel.component.file The File Component for working with file systems. 
org.apache.camel.component.log The Log Component uses Jakarta Commons Logging to log message exchanges. 
org.apache.camel.impl Default implementation classes for Camel Core 
org.apache.camel.spi Service Provider Interfaces used internally by the Camel runtime which are plugin strategies. 
org.apache.camel.util Utility classes used by the core of Camel. 
 

Uses of Message in org.apache.camel
 

Methods in org.apache.camel that return Message
 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 Exchange.getOut()
          Returns the outbound message, lazily creating one if one has not already been associated with this exchange.
 

Methods in org.apache.camel with parameters of type Message
 void Message.copyFrom(Message message)
          Copies the contents of the other message into this message
 void Exchange.setIn(Message in)
          Sets the inbound message instance
 void Exchange.setOut(Message out)
          Sets the outbound message
 

Constructors in org.apache.camel with parameters of type Message
InvalidPayloadException(Exchange exchange, Class<?> type, Message message)
          Deprecated.  
InvalidPayloadException(Exchange exchange, Class<?> type, Message message, Throwable cause)
          Deprecated.  
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message)
           
InvalidPayloadRuntimeException(Exchange exchange, Class<?> type, Message message, Throwable cause)
           
 

Uses of Message in org.apache.camel.builder.xml
 

Methods in org.apache.camel.builder.xml with parameters of type Message
 void DomResultHandler.setBody(Message in)
           
 void FileResultHandler.setBody(Message in)
           
 void StreamResultHandler.setBody(Message in)
           
 void ResultHandler.setBody(Message in)
           
 void StringResultHandler.setBody(Message in)
           
 

Uses of Message in org.apache.camel.component.file
 

Classes in org.apache.camel.component.file that implement Message
 class GenericFileMessage<T>
          Generic file message
 

Methods in org.apache.camel.component.file with parameters of type Message
 void GenericFileEndpoint.configureMessage(GenericFile<T> file, Message message)
          Configures the given message with the file which sets the body to the file object.
 String GenericFileEndpoint.getGeneratedFileName(Message message)
          Return the file name that will be auto-generated for the given message if none is provided
 

Uses of Message in org.apache.camel.component.log
 

Methods in org.apache.camel.component.log with parameters of type Message
protected  String LogFormatter.getBodyAsString(Message message)
           
protected  String LogFormatter.getBodyTypeAsString(Message message)
           
 

Uses of Message in org.apache.camel.impl
 

Classes in org.apache.camel.impl that implement Message
 class DefaultMessage
          The default implementation of Message

This implementation uses a CaseInsensitiveMap storing the headers.

 class MessageSupport
          A base class for implementation inheritance providing the core Message body handling features but letting the derived class deal with headers.
 

Methods in org.apache.camel.impl that return Message
 Message MessageSupport.copy()
           
 Message DefaultExchange.getIn()
           
 Message DefaultUnitOfWork.getOriginalInMessage()
           
 Message DefaultExchange.getOut()
           
abstract  Message MessageSupport.newInstance()
          Returns a new instance
 

Methods in org.apache.camel.impl with parameters of type Message
protected  void DefaultExchange.configureMessage(Message message)
          Configures the message after it has been set on the exchange
 void MessageSupport.copyFrom(Message that)
           
 void DefaultExchange.setIn(Message in)
           
 void DefaultExchange.setOut(Message out)
           
 

Uses of Message in org.apache.camel.spi
 

Methods in org.apache.camel.spi that return Message
 Message UnitOfWork.getOriginalInMessage()
          Gets the original IN Message this Unit of Work was started with.
 

Uses of Message in org.apache.camel.util
 

Methods in org.apache.camel.util that return Message
static Message ExchangeHelper.getResultMessage(Exchange exchange)
          Returns the message where to write results in an exchange-pattern-sensitive way.
 

Methods in org.apache.camel.util with parameters of type Message
static void MessageHelper.copyHeaders(Message source, Message target, boolean override)
          Copies the headers from the source to the target message.
static String MessageHelper.dumpAsXml(Message message)
          Dumps the message as a generic XML structure.
static String MessageHelper.dumpAsXml(Message message, boolean includeBody)
          Dumps the message as a generic XML structure.
static String MessageHelper.extractBodyAsString(Message message)
          Extracts the given body and returns it as a String, that can be used for logging etc.
static String MessageHelper.extractBodyForLogging(Message message)
          Extracts the body for logging purpose.
static String MessageHelper.extractBodyForLogging(Message message, String prepend)
          Extracts the body for logging purpose.
static String MessageHelper.extractBodyForLogging(Message message, String prepend, boolean allowStreams, boolean allowFiles, int maxChars)
          Extracts the body for logging purpose.
static String MessageHelper.getBodyTypeName(Message message)
          Gets the given body class type name as a String.
static String MessageHelper.getContentEncoding(Message message)
          Returns the MIME content encoding on the message or null if none defined
static String MessageHelper.getContentType(Message message)
          Returns the MIME content type on the message or null if none defined
static boolean GZIPHelper.isGzip(Message message)
           
static void MessageHelper.resetStreamCache(Message message)
          If the message body contains a StreamCache instance, reset the cache to enable reading from it again.
 



Apache CAMEL