How to specify an alternative ADS server and other sources of data (DDS or KRS) from perl websocket

I am using Reginitiv's sample perl scripts to retrieve RICs. It's working fine when retrieving the default IDN_RDF feed from one ADS server, but it is not clear from the perl samples how to:

1. Specify an alternative ADS server during initial configuration, so that if the first ADS fails, the data will be retrieved from the alternative ADS server.

2. Specify RICs from other sources of data, like DDS or KRS (Kondor+).

Thanks,

Ofer

Tagged:

Best Answer

  • Gurpreet
    Answer ✓

    Hello @ofer,

    The websockets is a protocol specification and hence, all the management like handshake, session, failover etc is the application's responsibility. Please see this Python sample which implements hotstandby and you can do something similar in perl code.

    If your other source is available in the ADS, under a different service name, you can specify the service in the item subscription request message like this:

    {
    "ID": 2,
    "Key": {
    "Name": ric_name,
    "Service": "DDS"
    },
    }