org.apache.camel.component.direct
Class DirectConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.component.direct.DirectConsumer
- All Implemented Interfaces:
- Consumer, Service
public class DirectConsumer
- extends DefaultConsumer
The direct consumer.
- Version:
- $Revision: 789593 $
Method Summary |
void |
start()
Starts the service |
void |
stop()
Stops the service |
DirectConsumer
public DirectConsumer(Endpoint endpoint,
Processor processor)
start
public void start()
throws Exception
- Description copied from interface:
Service
- Starts the service
- Specified by:
start
in interface Service
- Overrides:
start
in class ServiceSupport
- Throws:
Exception
stop
public void stop()
throws Exception
- Description copied from interface:
Service
- Stops the service
- Specified by:
stop
in interface Service
- Overrides:
stop
in class ServiceSupport
- Throws:
Exception
Apache CAMEL