org.quartz.jobs.ee.jms
Class JmsHelper
java.lang.Object
org.quartz.jobs.ee.jms.JmsHelper
public final class JmsHelper
- extends Object
Utility class that aids in the processing of JMS based jobs and sending of
javax.jms.Message
- Author:
- Fernando Ribeiro, Weston M. Price
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREDENTIALS
public static final String CREDENTIALS
- See Also:
- Constant Field Values
INITIAL_CONTEXT_FACTORY
public static final String INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
JMS_ACK_MODE
public static final String JMS_ACK_MODE
- See Also:
- Constant Field Values
JMS_CONNECTION_FACTORY_JNDI
public static final String JMS_CONNECTION_FACTORY_JNDI
- See Also:
- Constant Field Values
JMS_DESTINATION_JNDI
public static final String JMS_DESTINATION_JNDI
- See Also:
- Constant Field Values
JMS_MSG_FACTORY_CLASS_NAME
public static final String JMS_MSG_FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
JMS_PASSWORD
public static final String JMS_PASSWORD
- See Also:
- Constant Field Values
JMS_USE_TXN
public static final String JMS_USE_TXN
- See Also:
- Constant Field Values
JMS_USER
public static final String JMS_USER
- See Also:
- Constant Field Values
PRINCIPAL
public static final String PRINCIPAL
- See Also:
- Constant Field Values
PROVIDER_URL
public static final String PROVIDER_URL
- See Also:
- Constant Field Values
closeResource
public static void closeResource(Object resource)
getInitialContext
public static InitialContext getInitialContext(JobDataMap dataMap)
throws NamingException
- Throws:
NamingException
getMessageFactory
public static JmsMessageFactory getMessageFactory(String name)
throws JmsJobException
- Throws:
JmsJobException
isDestinationSecure
public static boolean isDestinationSecure(JobDataMap dataMap)
useTransaction
public static boolean useTransaction(JobDataMap dataMap)
Copyright 2001-2015, Terracotta, Inc.