public final class JmsHelper extends Object
javax.jms.Message
Modifier and Type | Field and Description |
---|---|
static String |
CREDENTIALS |
static String |
INITIAL_CONTEXT_FACTORY |
static String |
JMS_ACK_MODE |
static String |
JMS_CONNECTION_FACTORY_JNDI |
static String |
JMS_DESTINATION_JNDI |
static String |
JMS_MSG_FACTORY_CLASS_NAME |
static String |
JMS_PASSWORD |
static String |
JMS_USE_TXN |
static String |
JMS_USER |
static String |
PRINCIPAL |
static String |
PROVIDER_URL |
Modifier and Type | Method and Description |
---|---|
static void |
closeResource(Object resource) |
static InitialContext |
getInitialContext(JobDataMap dataMap) |
static JmsMessageFactory |
getMessageFactory(String name) |
static boolean |
isDestinationSecure(JobDataMap dataMap) |
static boolean |
useTransaction(JobDataMap dataMap) |
public static final String CREDENTIALS
public static final String INITIAL_CONTEXT_FACTORY
public static final String JMS_ACK_MODE
public static final String JMS_CONNECTION_FACTORY_JNDI
public static final String JMS_DESTINATION_JNDI
public static final String JMS_MSG_FACTORY_CLASS_NAME
public static final String JMS_PASSWORD
public static final String JMS_USE_TXN
public static final String JMS_USER
public static final String PRINCIPAL
public static final String PROVIDER_URL
public static void closeResource(Object resource)
public static InitialContext getInitialContext(JobDataMap dataMap) throws NamingException
NamingException
public static JmsMessageFactory getMessageFactory(String name) throws JmsJobException
JmsJobException
public static boolean isDestinationSecure(JobDataMap dataMap)
public static boolean useTransaction(JobDataMap dataMap)
Copyright 2001-2019, Terracotta, Inc.