Class StringtemplateResource


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

      • producerTemplate

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

      • StringtemplateResource

        public StringtemplateResource()
    • Method Detail

      • post

        @Path("/template")
        @POST
        @Consumes("application/json")
        @Produces("text/plain")
        public javax.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