How can I set the RTserver 'subscribe' command to use the wildcard /* ?
book
Article ID: KB0090627
calendar_today
Updated On:
Products
Versions
TIBCO SmartSockets
-
Not Applicable
-
Description
Resolution: When trying to set the RTserver subscribe command subscribe rtworks /*
The following error is seen:
ERROR: No Closing Comment */ Found For Comment Started on Line Number 1 Mon Jan 14 10:06:46.421 2008: Mon Jan 14 10:06:46.437 2008: subscribe Mon Jan 14 10:06:46.437 2008: subscribe <project> <subject> Mon Jan 14 10:06:46.437 2008: The subscribe command adds the specified subjects to the list of subjects to Mon Jan 14 10:06:46.437 2008: which RTserver is already subscribing. An RTserver subscribe is normally used Mon Jan 14 10:06:46.437 2008: with a wildcard subject name that matches a large number of RTclient subscribes Mon Jan 14 10:06:46.437 2008: in order to reduce the amount of inter-RTserver dynamic message routing Mon Jan 14 10:06:46.437 2008: information exchanged. If no subjects are specified, RTserver displays the names Mon Jan 14 10:06:46.437 2008: of the subjects to which it is currently subscribed. The subscribe command can Mon Jan 14 10:06:46.437 2008: be used interactively, but is most commonly used from a rtserver.cm startup Mon Jan 14 10:06:46.437 2008: command file.
Solution: Put the subject being subscribed to in double quotes: subscribe rtworks “/*”
Issue/Introduction
How can I set the RTserver 'subscribe' command to use the wildcard /* ?