org.apache.camel.component.bean
Class PojoMessageInvocationHandler
java.lang.Object
org.apache.camel.component.bean.AbstractCamelInvocationHandler
org.apache.camel.component.bean.PojoMessageInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class PojoMessageInvocationHandler
- extends AbstractCamelInvocationHandler
Special InvocationHandler for methods that have only one parameter. This
parameter is directly sent to as the body of the message. The idea is to use
that as a very open message format especially when combined with e.g. JAXB
serialization.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoMessageInvocationHandler
public PojoMessageInvocationHandler(Endpoint endpoint,
Producer producer)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Throws:
Throwable
Apache CAMEL