Configure publisher.xml for your feed handler.
Calling pub_initialize() reads in and uses the settings in publisher.xml for all feed handlers.
-
Review publisher.xml elements and the sample template.
-
Save publisher.xml in the /config folder of the directory that holds all files for your feed handler.
For testing, you can copy the file from $RAP/DemoFeedHandler/config/publisher.xml from demo feed handler
-
Edit publisher.xml elements.
When starting with an existing file, at a minimum you must edit:
- <AdminChannel> elements: <LocalInterface>, <AdminPort>
- <ResendChannel> elements: <ResendPort>
- One or more <DataStreamChannel> definitions including <ChannelName>, <LocalInterface>, <IPAddress>, <Port>