Class BeanMethodResource


  • @Path("/bean-method")
    public class BeanMethodResource
    extends Object
    • Field Detail

      • template

        @Inject
        org.apache.camel.ProducerTemplate template
    • Constructor Detail

      • BeanMethodResource

        public BeanMethodResource()
    • Method Detail

      • employee

        @Path("/employee/{route}")
        @POST
        @Consumes("application/json")
        public javax.ws.rs.core.Response employee​(Employee employee,
                                                  @PathParam("route")
                                                  String route)
      • collectedNames

        @Path("/collectedNames/{key}")
        @GET
        @Produces("application/json")
        public List<String> collectedNames​(@PathParam("key")
                                           String key)