@Deprecated 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(org.apache.camel.Endpoint endpoint,
org.apache.camel.Producer producer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
doInvokeProxy(Object proxy,
Method method,
Object[] args)
Deprecated.
|
afterInvoke, doInvoke, findSuitableException, getExecutorService, getGenericType, invoke, invokeProxy, invokeWithBody, isValidMethod
public PojoMessageInvocationHandler(org.apache.camel.Endpoint endpoint, org.apache.camel.Producer producer)
public Object doInvokeProxy(Object proxy, Method method, Object[] args) throws Throwable
doInvokeProxy
in class AbstractCamelInvocationHandler
Throwable
Apache Camel