Class SchedulerResource


  • @Path("/scheduler")
    @ApplicationScoped
    public class SchedulerResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
      • schedulerCounter

        @Inject
        @Named("schedulerCounter")
        AtomicInteger schedulerCounter
    • Constructor Detail

      • SchedulerResource

        public SchedulerResource()
    • Method Detail

      • get

        @Path("/get")
        @GET
        @Produces("text/plain")
        public int get()
                throws Exception
        Throws:
        Exception
      • schedulerCounter

        @Produces
        @ApplicationScoped
        @Named("schedulerCounter")
        AtomicInteger schedulerCounter()