Real Time Information Director User Documentation

RTID Subscriptions
Hewlett-Packard Company 16 529618 - 002
</SubInfo>
</Subscriptions>
Using RegSubs.sh
You use the RegSubs.sh program to
Add subscriptions to the Subscription Store,
Browse the Subscription Store and list the currently active subscriptions
Delete registered subscriptions
Before running RegSubs.sh, execute the setenv.sh script from the <WebLogic
domain>/scripts folder. Then invoke RegSubs.sh with any of the following command
lines:
RegSubs.sh -i [-p <properties file>] [-f <XMLfile> ]
RegSubs.sh -b [-p <properties file>]
RegSubs.sh -d -n <SubID> [-p <properties file>]
The following table describes the command line switches.
Switch Description
-i Insert Mode. Indicates that subscriptions are to be inserted into the
Subscription Store. The –f switch can be used to specify the XML file
containing the subscriptions. The default input file is specified by the
INPUTFILE property in the SubServ properties file. As soon as one or more
subscriptions are registered using this switch, SubServ activates them and
starts delivering documents based on the trigger selected.
-b Browse Mode. Indicates that the Subscription Store is to be browsed. The
registered subscriptions are displayed on stdout.
-d Delete Mode. Indicates that a subscription is to be deleted. The -n switch is
used to specify the ID of the subscription to be deleted. Once a subscription is
deleted, the Subscription Module guarantees that it will no longer service that
subscription.
-f File specification. Specifies the name of an input XML file that contains data
on the subscriptions to be registered. This file must comply with the schema
specified by $RTID_HOME/bin/SubServ.xsd. If this switch is not specified,
RegSubs.sh uses the default input file specified as the value of INPUTFILE in
the SubServ properties file.
-n Subscription Number. Specifies the ID of the Subscription to be deleted. This
value must match the value of the Subscription ID in the Subscription Store.
-p Properties File. Specifies the properties file. By default, the properties file is
$RTID_HOME/conf/SubServ.properties.