ie.nuigalway.ecrg.jade.jmsmtp.providersupport
Class JBossMqProviderAdmin
java.lang.Object
|
+--ie.nuigalway.ecrg.jade.jmsmtp.providersupport.JBossMqProviderAdmin
- All Implemented Interfaces:
- ProviderAdmin
- public class JBossMqProviderAdmin
- extends java.lang.Object
- implements ProviderAdmin
Field Summary |
private static org.apache.log4j.Category |
log
|
(package private) java.util.Properties |
props
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Category log
props
java.util.Properties props
JBossMqProviderAdmin
public JBossMqProviderAdmin()
- Setup the JBossMQ Provider Admin
getQueueConnectionFactory
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(JMSAddress jmsTA)
throws jade.mtp.MTPException
- Create a QueueConnection to a specified broker and place it in the hashmap
- Specified by:
getQueueConnectionFactory
in interface ProviderAdmin
- Parameters:
jmsTA
- Details of broker to create connection factory too
- Returns:
- QueueConnectionFactory onnection to this broker
- Throws:
jade.mtp.MTPException
- Error creating the ConnectionFactory
getOrCreateQueue
public javax.jms.Queue getOrCreateQueue(JMSAddress jmsTA)
throws jade.mtp.MTPException
- Lookup or create a specified queue and return it
- Specified by:
getOrCreateQueue
in interface ProviderAdmin
- Parameters:
jmsTA
- Contains details of the queue to lookup or create
- Returns:
- Queue The specified queue returned
- Throws:
jade.mtp.MTPException
- Error while creating the queue