Interface TSQInterface
- All Known Implementing Classes:
TSQImpl
public interface TSQInterface
This interface is used in translation of COBOL TemporaryStorage API.
SoftwareMininig's implementation (ITemporaryStorageManager) bypasses original COBOL and uses a DB2 and memory queues.
You can create your own implementation for communication with or other Queue storage API.
Any new system will also have to create a new implementation of "TSQueueManager" interface.
Please use the following dependency-injection/configuration in corect.properties file to allow system to use your new implementation:
You can create your own implementation for communication with or other Queue storage API.
Any new system will also have to create a new implementation of "TSQueueManager" interface.
Please use the following dependency-injection/configuration in corect.properties file to allow system to use your new implementation:
TS_IMPL=com.my.company.MyTSImplementation
-
Method Summary
Modifier and TypeMethodDescriptiongetQueue
(CicsBaseService service, String queueName, boolean createIfNotFound, ISMObject responseField, int queueType, int storageType) Queue Factory ...
-
Method Details
-
getQueue
IQueueStorage getQueue(CicsBaseService service, String queueName, boolean createIfNotFound, ISMObject responseField, int queueType, int storageType) Queue Factory ... Get implementation of QueueStorage.- Parameters:
service
- ... program who makes the call.queueName
- .. name of the queuecreateIfNotFound
- . When set to FALSE Throws Exceptions when no queue with this name is found. When set to True, it creates if non foundresponseField
- ... 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:
- IQueueStorage
-