Uses of Class
org.apache.camel.InvalidPayloadException

Packages that use InvalidPayloadException
org.apache.camel The JAXB POJOs for the XML Configuration of the routing rules. 
org.apache.camel.impl Default implementation classes for Camel Core 
org.apache.camel.util Utility classes used by the core of Camel and useful for Camel component developers 
 

Uses of InvalidPayloadException in org.apache.camel
 

Methods in org.apache.camel that throw InvalidPayloadException
 Object Message.getMandatoryBody()
          Returns the body of the message as a POJO
<T> T
Message.getMandatoryBody(Class<T> type)
          Returns the mandatory body as the specified type
 

Uses of InvalidPayloadException in org.apache.camel.impl
 

Methods in org.apache.camel.impl that throw InvalidPayloadException
 Object MessageSupport.getMandatoryBody()
           
<T> T
MessageSupport.getMandatoryBody(Class<T> type)
           
 

Uses of InvalidPayloadException in org.apache.camel.util
 

Methods in org.apache.camel.util that throw InvalidPayloadException
static Object ExchangeHelper.getMandatoryInBody(Exchange exchange)
          Returns the mandatory inbound message body of the correct type or throws an exception if it is not present
static
<T> T
ExchangeHelper.getMandatoryInBody(Exchange exchange, Class<T> type)
          Returns the mandatory inbound message body of the correct type or throws an exception if it is not present
static Object ExchangeHelper.getMandatoryOutBody(Exchange exchange)
          Returns the mandatory outbound message body of the correct type or throws an exception if it is not present
static
<T> T
ExchangeHelper.getMandatoryOutBody(Exchange exchange, Class<T> type)
          Returns the mandatory outbound message body of the correct type or throws an exception if it is not present
 



Copyright © 2009 Apache Software Foundation. All Rights Reserved.