RFA configuration validation

Lalit
Lalit Newcomer
edited April 9 in RFA

Hi, I am using RFA RSSL configuration as here

\Connections\Connection5_RSSL\connectionType = "RSSL"
\Connections\Connection5_RSSL\rsslPort = "14032"
\Connections\Connection5_RSSL\serverList="xconprices.ads2.test:14032"
\Connections\Connection5_RSSL\serverSelectionOrder= true
\Connections\Connection5_RSSL\serviceList = "PRICES_CONNECTION"
\Connections\Connection5_RSSL\requestTimeout = 5000
\Sessions\Session5\connectionList = "Connection5_RSSL"

Here rsslport and serverlist both are using port. Which port number will be selected and is this good idea to keep the configuration like this? The server list value is coming from a variable.

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @Lalit

    Based on the RFA Configuration and Logging Guide document (available in the API package), the API uses the portNumber/rsslPort configuration if only a port number is not specified in serverList configuration.

    Screenshot 2025-04-09 134851.png

    I did a quick test with the RFA Java API. The API uses port in the serverList to connect to the ADS server.

    The portNumber/rsslPort configuration is useful when all ADS in the serverList have the same RSSL port.

    Example: ADS1, ADS2, and ADS3 have the same 14002 RSSL port.

    \Connections\Connection5_RSSL\rsslPort = "14002"
    \Connections\Connection5_RSSL\serverList="ADS1,ADS2,ADS3"

    However, if each ADS server has different RSSL port, you need to specify it in serverList.

    \Connections\Connection5_RSSL\serverList="ADS1:14002,ADS2:14012,ADS3:14022"
    

Answers