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
protected static String COPYRIGHT
           
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()
          Deprecated. use the getSystemQueue() method instead.
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

COPYRIGHT

protected static final String COPYRIGHT
See Also:
Constant Field Values

sResHash

public static final 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
Deprecated. use the getSystemQueue() method instead.

This method calls the SystemQueue's QueueConnectionFactory.

Returns:
QueueConnectionFactory object that holds the connection to the external QueueManager (configured as a general purpose queue)
Throws:
Exception - If SystemQueueEngine is turned off