Class PahoMqtt5Resource

java.lang.Object
org.apache.camel.quarkus.component.paho.mqtt5.it.PahoMqtt5Resource

@Path("/paho-mqtt5") @ApplicationScoped public class PahoMqtt5Resource extends Object
  • Field Details

    • context

      @Inject org.apache.camel.CamelContext context
    • counter

      @Inject Counter counter
    • producerTemplate

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

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

    • PahoMqtt5Resource

      public PahoMqtt5Resource()
  • Method Details

    • consumePahoMessage

      @Path("/{protocol}/{queueName}") @GET @Produces("text/plain") public String consumePahoMessage(@PathParam("protocol") String protocol, @PathParam("queueName") String queueName)
    • producePahoMessage

      @Path("/{protocol}/{queueName}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response producePahoMessage(@PathParam("protocol") String protocol, @PathParam("queueName") String queueName, String message) throws Exception
      Throws:
      Exception
    • overrideQueueName

      @Path("/override/{queueName}") @POST @Consumes("text/plain") public javax.ws.rs.core.Response overrideQueueName(@PathParam("queueName") String queueName, String message) throws Exception
      Throws:
      Exception
    • readThenWriteWithFilePersistenceShouldSucceed

      @Path("/readThenWriteWithFilePersistenceShouldSucceed") @GET @Produces("text/plain") public String readThenWriteWithFilePersistenceShouldSucceed(@QueryParam("message") String message) throws Exception
      Throws:
      Exception
    • routeStatus

      @Path("/routeStatus/{id}") @GET @Produces("text/plain") public String routeStatus(@PathParam("id") String routeId, @QueryParam("waitForContainerStarted") @DefaultValue("false") boolean wait) throws Exception
      Throws:
      Exception
    • mock

      @Path("/mock") @POST @Produces("text/plain") public String mock(String message) throws Exception
      Throws:
      Exception
    • send

      @Path("/send") @POST @Produces("text/plain") public javax.ws.rs.core.Response send(String message) throws Exception
      Throws:
      Exception