Class FileWatchResource


  • @Path("/file-watch")
    @ApplicationScoped
    public class FileWatchResource
    extends Object
    • Field Detail

      • consumerTemplate

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

      • FileWatchResource

        public FileWatchResource()
    • Method Detail

      • getEvent

        @Path("/get-events")
        @GET
        @Produces("application/json")
        public javax.ws.rs.core.Response getEvent​(@QueryParam("path")
                                                  String path)
                                           throws Exception
        Throws:
        Exception