Class Jt400MockResource

java.lang.Object
org.apache.camel.quarkus.component.jt400.mocked.it.Jt400MockResource

@Path("/jt400/mock") @ApplicationScoped public class Jt400MockResource extends Object
  • Field Details

    • context

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

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

      @Inject org.apache.camel.ConsumerTemplate consumerTemplate
    • as400ImplRemote

      @Inject MockAS400ImplRemote as400ImplRemote
  • Constructor Details

    • Jt400MockResource

      public Jt400MockResource()
  • Method Details

    • keyedDataQueueRead

      @Path("/keyedDataQueue/read") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response keyedDataQueueRead()
    • keyedDataQueueWrite

      @Path("/keyedDataQueue/write/{key}") @POST @Consumes("text/plain") @Produces("text/plain") public jakarta.ws.rs.core.Response keyedDataQueueWrite(@PathParam("key") String key, String data) throws Exception
      Throws:
      Exception
    • messageQueueRead

      @Path("/messageQueue/read") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response messageQueueRead() throws InterruptedException
      Throws:
      InterruptedException
    • messageQueueWrite

      @Path("/messageQueue/write/{key}") @POST @Consumes("text/plain") @Produces("text/plain") public jakarta.ws.rs.core.Response messageQueueWrite(@PathParam("key") String key, String data) throws Exception
      Throws:
      Exception
    • programCall

      @Path("/programCall") @POST @Consumes("text/plain") @Produces("application/json") public jakarta.ws.rs.core.Response programCall() throws Exception
      Throws:
      Exception
    • putMockResponse

      @Path("/put/mockResponse") @POST @Consumes("application/json") public jakarta.ws.rs.core.Response putMockResponse(Map params) throws Exception
      Throws:
      Exception
    • stopComponent

      @Path("/component/stopWrong") @GET @Produces("text/plain") public jakarta.ws.rs.core.Response stopComponent() throws Exception
      Throws:
      Exception