Hello,
Both RDBs and segmented tickerplants should have their own proctype and make use of TorQ's parentproctype functionality. Meaning that within your appconfig/process.csv file you should give each segmented tickerplant a new proctype, set procname as "stp1" and "stp2", and -parentproctype segmentedtickerplant. E.g.:
You will need to make new config files each matching the new proctype you specified above within appconfig/settings. E.g.:
To then instruct your RDBs to subscribe to the separate tickerplants you will need to assign the new segmented tickerplant proctype to tickerplanttypes within each rdb file in appconfig/settings E.g.:
The alternative solution to use if it is the same replicated data flowing through both stp and rdb pairs, is to modify the rdb.q file in deploy/code/processes with the following:
The function .sub.getsubscriptionhandles then takes the arguments proctype, procname and attributes. The change above allows you to specify the process name to connect to.
Your process.csv file within deploy/appconfig/process.csv will follow the below format instead:
Then create and edit each rdb file in appconfig/settings, to point to each specific stp:
Kind Regards,
TorQ Support