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>
where :
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:subtype-classification[,subtype-classification…][&type:subtype-classification…]
where:
type is a number or * to indicate all types
subtype-classification is a comma-delimited number or range, * indicates all subtypes
Example:
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.