Class DefaultPollingEndpoint

java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
All Implemented Interfaces:
AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.ComponentAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
Direct Known Subclasses:
ProcessorEndpoint

public abstract class DefaultPollingEndpoint extends ScheduledPollEndpoint
A base class for an endpoint which the default consumer mode is to use a PollingConsumer
  • Constructor Details

    • DefaultPollingEndpoint

      protected DefaultPollingEndpoint()
    • DefaultPollingEndpoint

      protected DefaultPollingEndpoint(String endpointUri, org.apache.camel.Component component)
  • Method Details

    • createConsumer

      public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
      Throws:
      Exception