org.apache.camel.component.timer
Class TimerConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer<BeanExchange>
org.apache.camel.component.timer.TimerConsumer
- All Implemented Interfaces:
- InvocationHandler, Consumer<BeanExchange>, Service
public class TimerConsumer
- extends DefaultConsumer<BeanExchange>
- implements InvocationHandler
- Version:
- $Revision: 523047 $
TimerConsumer
public TimerConsumer(TimerEndpoint endpoint,
Processor processor)
doStart
protected void doStart()
throws Exception
- Overrides:
doStart
in class DefaultConsumer<BeanExchange>
- Throws:
Exception
doStop
protected void doStop()
throws Exception
- Overrides:
doStop
in class DefaultConsumer<BeanExchange>
- Throws:
Exception
createProxy
public Runnable createProxy()
- Creates a Proxy which generates the inbound PojoExchanges
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.