Class DefaultPollingEndpoint

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, 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 Detail

      • DefaultPollingEndpoint

        protected DefaultPollingEndpoint()
      • DefaultPollingEndpoint

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

      • createConsumer

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