Class JmsService


  • @Path("/jms")
    public final class JmsService
    extends Object
    • Constructor Detail

      • JmsService

        public JmsService()
    • Method Detail

      • info

        @GET
        @Produces("text/html")
        public String info​(@Context
                           jakarta.ws.rs.core.UriInfo uriInfo)
      • createTopicProducer

        @POST
        @Path("/topic/{destName}/create-producer")
        @Produces("text/plain")
        @Consumes("application/x-www-form-urlencoded")
        public jakarta.ws.rs.core.Response createTopicProducer​(@Context
                                                               jakarta.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("destName")
                                                               String destName,
                                                               @QueryParam("client-id")
                                                               String clientID,
                                                               @QueryParam("name")
                                                               String prodName,
                                                               @DefaultValue("1") @QueryParam("session-mode")
                                                               int sessionMode,
                                                               @DefaultValue("2") @QueryParam("persistent")
                                                               int deliveryMode,
                                                               @DefaultValue("0") @QueryParam("delivery-delay")
                                                               long deliveryDelay,
                                                               @QueryParam("correlation-id")
                                                               String correlationID,
                                                               @DefaultValue("4") @QueryParam("priority")
                                                               int priority,
                                                               @DefaultValue("0") @QueryParam("time-to-live")
                                                               long timeToLive,
                                                               @DefaultValue("0") @QueryParam("idle-timeout")
                                                               long idleTimeout,
                                                               @QueryParam("user")
                                                               String userName,
                                                               @QueryParam("password")
                                                               String password,
                                                               @FormParam("user")
                                                               String userName2,
                                                               @FormParam("password")
                                                               String password2,
                                                               @Context
                                                               jakarta.ws.rs.core.UriInfo uriInfo)
      • createQueueProducer

        @POST
        @Path("/queue/{destName}/create-producer")
        @Produces("text/plain")
        @Consumes("application/x-www-form-urlencoded")
        public jakarta.ws.rs.core.Response createQueueProducer​(@Context
                                                               jakarta.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("destName")
                                                               String destName,
                                                               @QueryParam("client-id")
                                                               String clientID,
                                                               @QueryParam("name")
                                                               String prodName,
                                                               @DefaultValue("1") @QueryParam("session-mode")
                                                               int sessionMode,
                                                               @DefaultValue("2") @QueryParam("persistent")
                                                               int deliveryMode,
                                                               @DefaultValue("0") @QueryParam("delivery-delay")
                                                               long deliveryDelay,
                                                               @QueryParam("correlation-id")
                                                               String correlationID,
                                                               @DefaultValue("4") @QueryParam("priority")
                                                               int priority,
                                                               @DefaultValue("0") @QueryParam("time-to-live")
                                                               long timeToLive,
                                                               @DefaultValue("0") @QueryParam("idle-timeout")
                                                               long idleTimeout,
                                                               @QueryParam("user")
                                                               String userName,
                                                               @QueryParam("password")
                                                               String password,
                                                               @FormParam("user")
                                                               String userName2,
                                                               @FormParam("password")
                                                               String password2,
                                                               @Context
                                                               jakarta.ws.rs.core.UriInfo uriInfo)
      • createTopicConsumer

        @POST
        @Path("/topic/{destName}/create-consumer")
        @Produces("text/plain")
        @Consumes("application/x-www-form-urlencoded")
        public jakarta.ws.rs.core.Response createTopicConsumer​(@Context
                                                               jakarta.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("destName")
                                                               String destName,
                                                               @QueryParam("client-id")
                                                               String clientID,
                                                               @QueryParam("name")
                                                               String consName,
                                                               @DefaultValue("1") @QueryParam("session-mode")
                                                               int sessionMode,
                                                               @QueryParam("selector")
                                                               String messageSelector,
                                                               @DefaultValue("false") @QueryParam("no-local")
                                                               boolean noLocal,
                                                               @DefaultValue("false") @QueryParam("durable")
                                                               boolean durable,
                                                               @DefaultValue("false") @QueryParam("shared")
                                                               boolean shared,
                                                               @QueryParam("sub-name")
                                                               String subName,
                                                               @DefaultValue("0") @QueryParam("idle-timeout")
                                                               long idleTimeout,
                                                               @QueryParam("user")
                                                               String userName,
                                                               @QueryParam("password")
                                                               String password,
                                                               @FormParam("user")
                                                               String userName2,
                                                               @FormParam("password")
                                                               String password2,
                                                               @Context
                                                               jakarta.ws.rs.core.UriInfo uriInfo)
      • createQueueConsumer

        @POST
        @Path("/queue/{destName}/create-consumer")
        @Produces("text/plain")
        @Consumes("application/x-www-form-urlencoded")
        public jakarta.ws.rs.core.Response createQueueConsumer​(@Context
                                                               jakarta.ws.rs.core.HttpHeaders headers,
                                                               @PathParam("destName")
                                                               String destName,
                                                               @QueryParam("client-id")
                                                               String clientID,
                                                               @QueryParam("name")
                                                               String consName,
                                                               @DefaultValue("1") @QueryParam("session-mode")
                                                               int sessionMode,
                                                               @QueryParam("selector")
                                                               String messageSelector,
                                                               @DefaultValue("false") @QueryParam("no-local")
                                                               boolean noLocal,
                                                               @DefaultValue("false") @QueryParam("durable")
                                                               boolean durable,
                                                               @DefaultValue("false") @QueryParam("shared")
                                                               boolean shared,
                                                               @QueryParam("sub-name")
                                                               String subName,
                                                               @DefaultValue("0") @QueryParam("idle-timeout")
                                                               long idleTimeout,
                                                               @QueryParam("user")
                                                               String userName,
                                                               @QueryParam("password")
                                                               String password,
                                                               @FormParam("user")
                                                               String userName2,
                                                               @FormParam("password")
                                                               String password2,
                                                               @Context
                                                               jakarta.ws.rs.core.UriInfo uriInfo)
      • closeSessionCtx

        @DELETE
        @Path("/{name}")
        @Produces("text/plain")
        @Consumes("text/plain")
        public jakarta.ws.rs.core.Response closeSessionCtx​(@Context
                                                           jakarta.ws.rs.core.HttpHeaders headers,
                                                           @PathParam("name")
                                                           String ctxName,
                                                           @Context
                                                           jakarta.ws.rs.core.UriInfo uriInfo)