Class CamelSpringCronService

java.lang.Object
org.apache.camel.component.cron.CamelSpringCronService
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.component.cron.api.CamelCronService, org.apache.camel.spi.HasCamelContext, org.apache.camel.spi.HasId

public class CamelSpringCronService extends Object implements org.apache.camel.component.cron.api.CamelCronService, org.apache.camel.CamelContextAware
Allows camel-spring to be used as implementation for camel-cron endpoints.
  • Constructor Details

    • CamelSpringCronService

      public CamelSpringCronService()
  • Method Details

    • createEndpoint

      public org.apache.camel.Endpoint createEndpoint(org.apache.camel.component.cron.api.CamelCronConfiguration configuration) throws Exception
      Specified by:
      createEndpoint in interface org.apache.camel.component.cron.api.CamelCronService
      Throws:
      Exception
    • getId

      public String getId()
      Specified by:
      getId in interface org.apache.camel.spi.HasId
    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.apache.camel.CamelContextAware
    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.apache.camel.spi.HasCamelContext