gov.nih.nci.caarray.services.util.jms
Interface JMSMessageHandler
- All Known Implementing Classes:
- DefaultJMSMessageHandler
public interface JMSMessageHandler
- Author:
- Joshua Phillips
startQueueSession
void startQueueSession(java.lang.String queueName)
throws javax.jms.JMSException,
ServiceLookupException
- Throws:
javax.jms.JMSException
ServiceLookupException
startQueueSession
void startQueueSession(java.lang.String queueName,
java.lang.String connFactName)
throws javax.jms.JMSException,
ServiceLookupException
- Throws:
javax.jms.JMSException
ServiceLookupException
endQueueSession
void endQueueSession(java.lang.String queueName)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
startTopicSession
void startTopicSession(java.lang.String queueName)
throws javax.jms.JMSException,
ServiceLookupException
- Throws:
javax.jms.JMSException
ServiceLookupException
startTopicSession
void startTopicSession(java.lang.String topicName,
java.lang.String topicFactName)
throws javax.jms.JMSException,
ServiceLookupException
- Throws:
javax.jms.JMSException
ServiceLookupException
getQueueSessionNames
java.util.Collection getQueueSessionNames()
getTopicSessionNames
java.util.Collection getTopicSessionNames()
endTopicSession
void endTopicSession(java.lang.String queueName)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
send
void send(java.lang.String queueName,
javax.jms.Message msg)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
publish
void publish(java.lang.String topicName,
javax.jms.Message msg)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createQueueObjectMessage
javax.jms.ObjectMessage createQueueObjectMessage(java.lang.String queueName)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
createTopicObjectMessage
javax.jms.ObjectMessage createTopicObjectMessage(java.lang.String topicName)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
send
void send(java.lang.String queueName,
javax.jms.Message om,
long waitTime)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException