ie.nuigalway.ecrg.jade.jmsmtp.providersupport
Class SonicMqProviderAdmin
java.lang.Object
|
+--ie.nuigalway.ecrg.jade.jmsmtp.providersupport.SonicMqProviderAdmin
- All Implemented Interfaces:
- ProviderAdmin
- public final class SonicMqProviderAdmin
- extends java.lang.Object
- implements ProviderAdmin
Field Summary |
private static java.lang.String |
classKey
|
private static org.apache.log4j.Category |
log
|
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
classKey
private static final java.lang.String classKey
- See Also:
- Constant Field Values
SonicMqProviderAdmin
public SonicMqProviderAdmin()
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 during quue connection activation
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 during queue activation