Class SedaResource

java.lang.Object
org.apache.camel.quarkus.component.seda.it.SedaResource

@Path("/seda") @ApplicationScoped public class SedaResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
    • consumerTemplate

      @Inject org.apache.camel.ConsumerTemplate consumerTemplate
  • Constructor Details

    • SedaResource

      public SedaResource()
  • Method Details

    • get

      @Path("/{name}") @GET @Produces("text/plain") public String get(@PathParam("name") String name) throws Exception
      Throws:
      Exception
    • post

      @Path("/{name}") @POST @Consumes("text/plain") @Produces("text/plain") public jakarta.ws.rs.core.Response post(String message, @PathParam("name") String name) throws Exception
      Throws:
      Exception