org.apache.camel.component.pojo
Class PojoConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer<PojoExchange>
org.apache.camel.component.pojo.PojoConsumer
- All Implemented Interfaces:
- InvocationHandler, Consumer<PojoExchange>, Service
public class PojoConsumer
- extends DefaultConsumer<PojoExchange>
- implements InvocationHandler
- Version:
- $Revision: 525547 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoConsumer
public PojoConsumer(PojoEndpoint endpoint,
Processor<PojoExchange> processor)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class DefaultConsumer<PojoExchange>
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class DefaultConsumer<PojoExchange>
- Throws:
Exception
createProxy
public Object createProxy(ClassLoader cl,
Class[] interfaces)
- Creates a Proxy which generates inbound exchanges on the consumer.
createProxy
public Object createProxy(Class[] interfaces)
- Creates a Proxy which generates inbound exchanges on the consumer.
createProxy
public <T> T createProxy(ClassLoader cl,
Class<T> interfaceClass)
- Creates a Proxy which generates inbound exchanges on the consumer.
createProxy
public <T> T createProxy(Class<T> interfaceClass)
- Creates a Proxy which generates inbound exchanges on the consumer.
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2007 Apache Software Foundation. All Rights Reserved.