Service name alias for RFA

Kung.S
Kung.S Newcomer

Is there a way for us to configure RFA to translate the service request by the code to something else?

The situation is , our application hard coded to request for "IDN" service. We want them to test "ETE" service , and they cannot do that without changing the code.


If we can do this via RFAJ & RFA C++ config file that would be great.


Tagged:

Best Answer

  • @Kung.S

    You may need to set the services alias in RFA configuration file.

    You can find the details from RFA C++ Configuration Guide

    section C.1 Change Service Name


    You might need to add service alias "IDN" to RFA configuration file like the following sample

    \Services\IDN\feedName = "<Real Service on TREP>"

    And then add “IDN” to serviceList of your connection.

    \Connections\<Your Connection Name>\serviceList = "IDN"


    And then your app should be able to request service IDN and it will translate to feedName you specified.

    I did a quick test with RFASTTIcker and StarterConsumer and it seems to works.

Answers