question

Upvotes
Accepted
3 0 0 1

Service name alias for RFA

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.


treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
7.6k 15 6 9

@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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3 0 0 1

Great. Can I assume it is the same with RFA Java?


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
7.6k 15 6 9

@Kung.S As far as I know, Java also has the configuration as well.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
11.3k 25 8 13

Hi @Kung.S,

RFA Java have similar parameters, so it should work with RFA Java.


1573626786909.png (46.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea