When seepubsub is invoked as a command line executable, it will default to configuration in the configuration file unless command line parameters are used to override it.
When seepubsub is invoked as a service, the service will read its configuration from the configuration file.
The configuration file is an XML file called seepubsub.exe.config, and must exist in the same directory as the executable.
The config file includes a section called <MicroFocus.SEE.SeePubSub> which contains the relevant subscription information:
<MicroFocus.SEE.SeePubSub> <subscriptions> <subscription url="mfbinp://localhost:9022" program="mfbsiemx" filter="*:*" description="MFBSI Scheduler interface" subscriberid="normally-only-used-for-durable-subscribers" durable="false" nounsubscribe="false" /> <environment> <set name="REGION" value="JCLDEMO" /> <set name="ES_SERVER" value="$REGION" /> <set name="MFBSI_DIR" value="c:/tmp/mfbsi/$REGION" /> </environment> </Subscriptions> </MicroFocus.SEE.SeePubSub>
This is especially important in the case where seepubsub is run as a Windows service because Windows services do not inherit the environment that they were installed from.
It has the following syntax :
type is a number or * to indicate all types
subtype-classification is a comma-delimited number or range, * indicates all subtypes
1:*&2:1,2,3&3:1-10,15 All subtypes for type 1 Subtypes 1,2 & 3 for type 2 Subtypes 1,2,3,4,5,6,7,8,9, & 15 for type 3
Each subscription can have a set of environment variables set to it.
The environment section contains a list of name value pairs.