Class StringtemplateResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.stringtemplate.it.StringtemplateResource
-
@Path("/stringtemplate") @ApplicationScoped public class StringtemplateResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) org.apache.camel.ProducerTemplateproducerTemplate
-
Constructor Summary
Constructors Constructor Description StringtemplateResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsepost(Map<String,Object> headers, String template, String body, String parameters)
-
-
-
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
-
-