Class EipResource

java.lang.Object
org.apache.camel.quarkus.component.bean.eip.EipResource

@Path("/bean/eip") @ApplicationScoped public class EipResource extends Object
  • Field Details

    • producerTemplate

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

      @Inject org.apache.camel.CamelContext context
  • Constructor Details

    • EipResource

      public EipResource()
  • Method Details

    • route

      @Path("/route/{route}") @POST @Consumes("text/plain") @Produces("text/plain") public String route(String body, @PathParam("route") String route)
    • mock

      @Path("/result/{name}") @Produces("text/plain") @GET public String mock(@PathParam("name") String name, @PathParam("count") int count, @PathParam("timeout") int timeout)