Class StringtemplateResource

java.lang.Object
org.apache.camel.quarkus.component.stringtemplate.it.StringtemplateResource

@Path("/stringtemplate") @ApplicationScoped public class StringtemplateResource extends Object
  • Field Details

    • producerTemplate

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

    • StringtemplateResource

      public StringtemplateResource()
  • Method Details

    • post

      @Path("/template") @POST @Consumes("application/json") @Produces("text/plain") public jakarta.ws.rs.core.Response post(Map<String,Object> headers, @QueryParam("template") String template, @QueryParam("body") String body, @QueryParam("parameters") String parameters) throws Exception
      Throws:
      Exception