Class QuartzResource


  • @Path("/quartz")
    public class QuartzResource
    extends Object
    • Field Detail

      • camelContext

        @Inject
        org.apache.camel.CamelContext camelContext
      • consumerTemplate

        @Inject
        org.apache.camel.ConsumerTemplate consumerTemplate
    • Constructor Detail

      • QuartzResource

        public QuartzResource()
    • Method Detail

      • createQuartzFromProperties

        @Produces
        @Singleton
        @Named("quartzFromProperties")
        public org.apache.camel.component.quartz.QuartzComponent createQuartzFromProperties()
      • getSchedulerNameAndResult

        @Path("/getNameAndResult")
        @GET
        @Produces("application/json")
        public Map<String,​String> getSchedulerNameAndResult​(@QueryParam("componentName")
                                                                  String componentName,
                                                                  @QueryParam("fromEndpoint")
                                                                  String fromEndpoint)
                                                           throws Exception
        Throws:
        Exception
      • getSchedulerResult

        @Path("/get")
        @GET
        @Produces("text/plain")
        public String getSchedulerResult​(@QueryParam("fromEndpoint")
                                         String fromEndpoint)
                                  throws Exception
        Throws:
        Exception
      • getHeaders

        @Path("/getHeaders")
        @GET
        @Produces("application/json")
        public Map<String,​String> getHeaders​(@QueryParam("fromEndpoint")
                                                   String fromEndpoint)
                                            throws Exception
        Throws:
        Exception
      • getMisfire

        @Path("/getMisfire")
        @GET
        @Produces("application/json")
        public Map<String,​String> getMisfire​(@QueryParam("fromEndpoint")
                                                   String fromEndpoint)
                                            throws Exception
        Throws:
        Exception