@Path(value="/jms") public class JmsService extends Object
| Modifier and Type | Field and Description |
|---|---|
private Helper |
helper |
static String |
JMS |
static String |
JMS_CREATE_CONS |
static String |
JMS_CREATE_PROD |
static org.objectweb.util.monolog.api.Logger |
logger |
| Constructor and Description |
|---|
JmsService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
closeSessionCtx(javax.ws.rs.core.HttpHeaders headers,
String ctxName,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createQueueConsumer(javax.ws.rs.core.HttpHeaders headers,
String destName,
String clientID,
String consName,
int sessionMode,
String messageSelector,
boolean noLocal,
boolean durable,
boolean shared,
String subName,
long idleTimeout,
String userName,
String password,
String userName2,
String password2,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createQueueProducer(javax.ws.rs.core.HttpHeaders headers,
String destName,
String clientID,
String prodName,
int sessionMode,
int deliveryMode,
long deliveryDelay,
String correlationID,
int priority,
long timeToLive,
long idleTimeout,
String userName,
String password,
String userName2,
String password2,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createTopicConsumer(javax.ws.rs.core.HttpHeaders headers,
String destName,
String clientID,
String consName,
int sessionMode,
String messageSelector,
boolean noLocal,
boolean durable,
boolean shared,
String subName,
long idleTimeout,
String userName,
String password,
String userName2,
String password2,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
createTopicProducer(javax.ws.rs.core.HttpHeaders headers,
String destName,
String clientID,
String prodName,
int sessionMode,
int deliveryMode,
long deliveryDelay,
String correlationID,
int priority,
long timeToLive,
long idleTimeout,
String userName,
String password,
String userName2,
String password2,
javax.ws.rs.core.UriInfo uriInfo) |
String |
info(javax.ws.rs.core.UriInfo uriInfo) |
public static org.objectweb.util.monolog.api.Logger logger
private final Helper helper
public static final String JMS
public static final String JMS_CREATE_PROD
public static final String JMS_CREATE_CONS
@GET @Produces(value="text/html") public String info(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/topic/{destName}/create-producer")
@Produces(value="text/plain")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response createTopicProducer(@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="destName")
String destName,
@QueryParam(value="client-id")
String clientID,
@QueryParam(value="name")
String prodName,
@DefaultValue(value="1") @QueryParam(value="session-mode")
int sessionMode,
@DefaultValue(value="2") @QueryParam(value="persistent")
int deliveryMode,
@DefaultValue(value="0") @QueryParam(value="delivery-delay")
long deliveryDelay,
@QueryParam(value="correlation-id")
String correlationID,
@DefaultValue(value="4") @QueryParam(value="priority")
int priority,
@DefaultValue(value="0") @QueryParam(value="time-to-live")
long timeToLive,
@DefaultValue(value="0") @QueryParam(value="idle-timeout")
long idleTimeout,
@QueryParam(value="user")
String userName,
@QueryParam(value="password")
String password,
@FormParam(value="user")
String userName2,
@FormParam(value="password")
String password2,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/queue/{destName}/create-producer")
@Produces(value="text/plain")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response createQueueProducer(@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="destName")
String destName,
@QueryParam(value="client-id")
String clientID,
@QueryParam(value="name")
String prodName,
@DefaultValue(value="1") @QueryParam(value="session-mode")
int sessionMode,
@DefaultValue(value="2") @QueryParam(value="persistent")
int deliveryMode,
@DefaultValue(value="0") @QueryParam(value="delivery-delay")
long deliveryDelay,
@QueryParam(value="correlation-id")
String correlationID,
@DefaultValue(value="4") @QueryParam(value="priority")
int priority,
@DefaultValue(value="0") @QueryParam(value="time-to-live")
long timeToLive,
@DefaultValue(value="0") @QueryParam(value="idle-timeout")
long idleTimeout,
@QueryParam(value="user")
String userName,
@QueryParam(value="password")
String password,
@FormParam(value="user")
String userName2,
@FormParam(value="password")
String password2,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/topic/{destName}/create-consumer")
@Produces(value="text/plain")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response createTopicConsumer(@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="destName")
String destName,
@QueryParam(value="client-id")
String clientID,
@QueryParam(value="name")
String consName,
@DefaultValue(value="1") @QueryParam(value="session-mode")
int sessionMode,
@QueryParam(value="selector")
String messageSelector,
@DefaultValue(value="false") @QueryParam(value="no-local")
boolean noLocal,
@DefaultValue(value="false") @QueryParam(value="durable")
boolean durable,
@DefaultValue(value="false") @QueryParam(value="shared")
boolean shared,
@QueryParam(value="sub-name")
String subName,
@DefaultValue(value="0") @QueryParam(value="idle-timeout")
long idleTimeout,
@QueryParam(value="user")
String userName,
@QueryParam(value="password")
String password,
@FormParam(value="user")
String userName2,
@FormParam(value="password")
String password2,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@POST
@Path(value="/queue/{destName}/create-consumer")
@Produces(value="text/plain")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response createQueueConsumer(@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="destName")
String destName,
@QueryParam(value="client-id")
String clientID,
@QueryParam(value="name")
String consName,
@DefaultValue(value="1") @QueryParam(value="session-mode")
int sessionMode,
@QueryParam(value="selector")
String messageSelector,
@DefaultValue(value="false") @QueryParam(value="no-local")
boolean noLocal,
@DefaultValue(value="false") @QueryParam(value="durable")
boolean durable,
@DefaultValue(value="false") @QueryParam(value="shared")
boolean shared,
@QueryParam(value="sub-name")
String subName,
@DefaultValue(value="0") @QueryParam(value="idle-timeout")
long idleTimeout,
@QueryParam(value="user")
String userName,
@QueryParam(value="password")
String password,
@FormParam(value="user")
String userName2,
@FormParam(value="password")
String password2,
@Context
javax.ws.rs.core.UriInfo uriInfo)
@DELETE
@Path(value="/{name}")
@Produces(value="text/plain")
@Consumes(value="text/plain")
public javax.ws.rs.core.Response closeSessionCtx(@Context
javax.ws.rs.core.HttpHeaders headers,
@PathParam(value="name")
String ctxName,
@Context
javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2019 ScalAgent D.T.. All rights reserved.