public class PojoMessageInvocationHandler extends AbstractCamelInvocationHandler
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.endpoint, producer| Constructor and Description |
|---|
PojoMessageInvocationHandler(Endpoint endpoint,
Producer producer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
doInvokeProxy(Object proxy,
Method method,
Object[] args) |
afterInvoke, findSuitableException, getExecutorService, getGenericType, invoke, invokeWithBody, isValidMethodpublic Object doInvokeProxy(Object proxy, Method method, Object[] args) throws Throwable
doInvokeProxy in class AbstractCamelInvocationHandlerThrowableApache Camel