Class QuteResource

java.lang.Object
org.apache.camel.quarkus.component.qute.it.QuteResource

@Path("/qute") @ApplicationScoped public class QuteResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • QuteResource

      public QuteResource()
  • Method Details

    • getTemplateFromHeader

      @Path("/template") @POST @Produces("text/plain") public String getTemplateFromHeader(String content) throws Exception
      Throws:
      Exception
    • getTemplateFromPath

      @Path("/template/{name}") @GET @Produces("text/plain") public String getTemplateFromPath(@PathParam("name") String name) throws Exception
      Throws:
      Exception
    • getInvalidTemplatePath

      @Path("/template/invalid/path") @GET @Produces("text/plain") public String getInvalidTemplatePath() throws Exception
      Throws:
      Exception