Class BeanMethodResource

java.lang.Object
org.apache.camel.quarkus.component.bean.method.BeanMethodResource

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

    • template

      @Inject org.apache.camel.ProducerTemplate template
    • collectedNames

      @Inject @Named("collected-names") Map<String,List<String>> collectedNames
  • Constructor Details

    • BeanMethodResource

      public BeanMethodResource()
  • Method Details

    • employee

      @Path("/employee/{route}") @POST @Consumes("application/json") public jakarta.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)