Package 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
@Deprecated public class PojoMessageInvocationHandler extends AbstractCamelInvocationHandler
Deprecated.SpecialInvocationHandler
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.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.bean.AbstractCamelInvocationHandler
endpoint, producer
-
-
Constructor Summary
Constructors Constructor Description PojoMessageInvocationHandler(org.apache.camel.Endpoint endpoint, org.apache.camel.Producer producer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
doInvokeProxy(Object proxy, Method method, Object[] args)
Deprecated.-
Methods inherited from class org.apache.camel.component.bean.AbstractCamelInvocationHandler
afterInvoke, doInvoke, findSuitableException, getExecutorService, getGenericType, invoke, invokeProxy, invokeWithBody, isValidMethod
-
-
-
-
Method Detail
-
doInvokeProxy
public Object doInvokeProxy(Object proxy, Method method, Object[] args) throws Throwable
Deprecated.- Specified by:
doInvokeProxy
in classAbstractCamelInvocationHandler
- Throws:
Throwable
-
-