Class KameletResource
java.lang.Object
org.apache.camel.quarkus.component.kamelet.it.KameletResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.CamelContext(package private) org.apache.camel.ConsumerTemplate(package private) org.apache.camel.FluentProducerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkameletChain(String message) jakarta.json.JsonArraylist()produceToKamelet(String message)
-
Field Details
-
camelContext
@Inject org.apache.camel.CamelContext camelContext -
fluentProducerTemplate
@Inject org.apache.camel.FluentProducerTemplate fluentProducerTemplate -
consumerTemplate
@Inject org.apache.camel.ConsumerTemplate consumerTemplate
-
-
Constructor Details
-
KameletResource
public KameletResource()
-
-
Method Details
-
produceToKamelet
@Path("/produce") @POST @Consumes("text/plain") @Produces("text/plain") public String produceToKamelet(String message) throws Exception - Throws:
Exception
-
consumeFromKamelet
- Throws:
Exception
-
bodyFromProperty
- Throws:
Exception
-
kameletChain
@Path("/chain") @POST @Produces("text/plain") public String kameletChain(String message) throws Exception - Throws:
Exception
-
invoke
@Path("/invoke/{name}") @POST @Produces("text/plain") public String invoke(@PathParam("name") String name, String message) throws Exception - Throws:
Exception
-
list
@Path("/list") @GET @Produces("application/json") public jakarta.json.JsonArray list() -
kameletLocationAtRuntime
-