public class JndiService extends Object
Modifier and Type | Field and Description |
---|---|
private Helper |
helper |
static String |
JNDI |
static Logger |
logger |
Constructor and Description |
---|
JndiService() |
Modifier and Type | Method and Description |
---|---|
Response |
closeSessionCtx(HttpHeaders headers,
String ctxName,
UriInfo uriInfo) |
Response |
createConsumer(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,
UriInfo uriInfo)
Creates a consumer through the JNDI Rest API.
|
Response |
createConsumerOld(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,
UriInfo uriInfo)
Deprecated.
|
Response |
createProducer(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,
UriInfo uriInfo)
Creates a producer through the JNDI Rest API.
|
Response |
createProducerOld(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,
UriInfo uriInfo)
Deprecated.
|
String |
info(UriInfo uriInfo) |
Response |
lookupDestination(HttpHeaders headers,
String destName,
UriInfo uriInfo) |
public static Logger logger
private final Helper helper
public static final String JNDI
public String info(UriInfo uriInfo)
public Response lookupDestination(HttpHeaders headers, String destName, UriInfo uriInfo)
@Deprecated public Response createProducerOld(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, UriInfo uriInfo)
@Deprecated public Response createConsumerOld(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, UriInfo uriInfo)
public Response createProducer(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, UriInfo uriInfo)
headers
- destName
- clientID
- prodName
- sessionMode
- deliveryMode
- deliveryDelay
- correlationID
- priority
- timeToLive
- idleTimeout
- userName
- password
- uriInfo
- public Response createConsumer(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, UriInfo uriInfo)
headers
- destName
- clientID
- consName
- sessionMode
- messageSelector
- noLocal
- durable
- shared
- subName
- idleTimeout
- userName
- password
- userName2
- password2
- uriInfo
- public Response closeSessionCtx(HttpHeaders headers, String ctxName, UriInfo uriInfo)
Copyright © 2023 ScalAgent D.T.. All rights reserved.