Class StringtemplateResource
java.lang.Object
org.apache.camel.quarkus.component.stringtemplate.it.StringtemplateResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
-
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
-