Class QuteResource
java.lang.Object
org.apache.camel.quarkus.component.qute.it.QuteResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.ProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTemplateFromHeader(String content) getTemplateFromPath(String name)
-
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
-