com.ibm.di.systemqueue
Class SystemQueueEngine

java.lang.Object
  extended by com.ibm.di.systemqueue.SystemQueueEngine

public class SystemQueueEngine
extends Object

The System Queue Engine provides initialization of MQe and default System Queue object. The SystemQueueEngine is Singleton and provide single entry point to create and access connections to specific JMS Drivers. It reads specified parameters in global.properties/solution.properties and creates desired System Queue objects. It provides public static method for creating additional System Queue with given parameters.


Field Summary
static ResourceHash sResHash
           
 
Method Summary
static SystemQueueEngine getInstance()
          Creator/getter of SystemQueueEngine singleton, single entry point when creating or getting SystemQueueEngine object
static com.ibm.mqe.jms.MQeQueueConnectionFactory getMQeQueueConnectionFactory()
          Public getter of MQeQueueConnectionFactory
static SystemQueue getSystemQueue()
          Public getter of default SystemQueue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sResHash

public static ResourceHash sResHash
Method Detail

getInstance

public static SystemQueueEngine getInstance()
                                     throws Exception
Creator/getter of SystemQueueEngine singleton, single entry point when creating or getting SystemQueueEngine object

Returns:
the instance of SystemQueueEngine
Throws:
Exception - If SystemQueueEngine is turned off

getSystemQueue

public static SystemQueue getSystemQueue()
                                  throws Exception
Public getter of default SystemQueue

Returns:
SystemQueue object that holds default System Queue
Throws:
Exception - If SystemQueueEngine is turned off or default System Queue cannot be initialized

getMQeQueueConnectionFactory

public static com.ibm.mqe.jms.MQeQueueConnectionFactory getMQeQueueConnectionFactory()
                                                                              throws Exception
Public getter of MQeQueueConnectionFactory

Returns:
MQeQueueConnectionFactory object that holds MQe connection
Throws:
Exception - If SystemQueueEngine is turned off or
Exception - If SystemQueueEngine is turned off or MQe System Queue cannot be initialized