org.apache.camel.component.bean
Class CamelInvocationHandler

java.lang.Object
  extended by org.apache.camel.component.bean.AbstractCamelInvocationHandler
      extended by org.apache.camel.component.bean.CamelInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class CamelInvocationHandler
extends AbstractCamelInvocationHandler
implements InvocationHandler

An InvocationHandler which invokes a message exchange on a camel Endpoint

Version:

Field Summary
 
Fields inherited from class org.apache.camel.component.bean.AbstractCamelInvocationHandler
endpoint, producer
 
Constructor Summary
CamelInvocationHandler(Endpoint endpoint, Producer producer, MethodInfoCache methodInfoCache)
           
 
Method Summary
 Object doInvokeProxy(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class org.apache.camel.component.bean.AbstractCamelInvocationHandler
afterInvoke, findSuitableException, getExecutorService, getGenericType, invoke, invokeWithBody, isValidMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

CamelInvocationHandler

public CamelInvocationHandler(Endpoint endpoint,
                              Producer producer,
                              MethodInfoCache methodInfoCache)
Method Detail

doInvokeProxy

public Object doInvokeProxy(Object proxy,
                            Method method,
                            Object[] args)
                     throws Throwable
Specified by:
doInvokeProxy in class AbstractCamelInvocationHandler
Throws:
Throwable


Apache CAMEL