Class TSQImpl

java.lang.Object
com.softwaremining.vendors.cics.queue.TSQImpl
All Implemented Interfaces:
TSQInterface

public class TSQImpl extends Object implements TSQInterface
Softwaremining's equivalent implementation of CICS TSQ .
  • Constructor Details

    • TSQImpl

      public TSQImpl()
  • Method Details

    • getQueue

      public IQueueStorage getQueue(CicsBaseService service, String queueName, boolean createIfNotFound, ISMObject responseField, int queueType, int storageType)
      Queue Factory ... Get queue.
      Specified by:
      getQueue in interface TSQInterface
      Parameters:
      service - ... program who makes the call.
      queueName - .. name of the queue
      createIfNotFound - . When set to FALSE Throws Exceptions when no queue with this name is found. When set to True, it creates if non found
      responseField - ... errors are indicated using ResponseCode field rather than Exception thrown. When NULL, and there is problems, then the "service" condition handler is also invoked.
      queueType - : TYPE_TEMPORARY_STORAGE (TS), or TYPE_TRANSIENT_STORAGE (TD)
      StorageType - ... MAIN (for MemoeryQueue), AUXILARY/DEFAULT (Persistent)
      Returns:
      QueueStorage
    • releaseSessionResources

      public static void releaseSessionResources(CicsBaseService service)
      The system will not know when it would be safe to release associated resources. Hence this has to be be called manually: