Home » apache-camel-1.5.0-src » org.apache » camel » impl » [javadoc | source]
org.apache.camel.impl
public class: DefaultConsumer [javadoc | source]
java.lang.Object
   org.apache.camel.impl.ServiceSupport
      org.apache.camel.impl.DefaultConsumer

All Implemented Interfaces:
    Consumer, Service

A default consumer useful for implementation inheritance.
Constructor:
 public DefaultConsumer(Endpoint<E> endpoint,
    Processor processor) 
Method from org.apache.camel.impl.DefaultConsumer Summary:
doStart,   doStop,   getAsyncProcessor,   getEndpoint,   getExceptionHandler,   getProcessor,   handleException,   setExceptionHandler,   toString
Methods from org.apache.camel.impl.ServiceSupport:
addChildService,   doStart,   doStop,   getThreadName,   isRunAllowed,   isStarted,   isStarting,   isStopped,   isStopping,   nextThreadCounter,   removeChildService,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.camel.impl.DefaultConsumer Detail:
 protected  void doStart() throws Exception 
 protected  void doStop() throws Exception 
 public AsyncProcessor getAsyncProcessor() 
    Provides an AsyncProcessor interface to the configured processor on the consumer. If the processor does not implement the interface, it will be adapted so that it does.
 public Endpoint<E> getEndpoint() 
 public ExceptionHandler getExceptionHandler() 
 public Processor getProcessor() 
 protected  void handleException(Throwable t) 
 public  void setExceptionHandler(ExceptionHandler exceptionHandler) 
 public String toString()