org.apache.camel.component.bean
Class BeanProcessor
java.lang.Object
org.apache.camel.component.bean.BeanProcessor
- All Implemented Interfaces:
- Processor
public class BeanProcessor
- extends Object
- implements Processor
A Processor
which converts the inbound exchange to a method
invocation on a POJO
- Version:
- $Revision: $
METHOD_NAME
public static final String METHOD_NAME
- See Also:
- Constant Field Values
BeanProcessor
public BeanProcessor(Object pojo,
BeanInfo beanInfo)
BeanProcessor
public BeanProcessor(Object pojo,
ParameterMappingStrategy parameterMappingStrategy)
BeanProcessor
public BeanProcessor(Object pojo,
CamelContext camelContext)
createParameterMappingStrategy
public static ParameterMappingStrategy createParameterMappingStrategy(CamelContext camelContext)
toString
public String toString()
- Overrides:
toString
in class Object
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Specified by:
process
in interface Processor
- Throws:
Exception
- if an internal processing error has occurred.
getMethod
public Method getMethod()
setMethod
public void setMethod(Method method)
getMethodName
public String getMethodName()
setMethodName
public void setMethodName(String methodName)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.