New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
38 0 1 3

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 512.0 KiB each and 1.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 512.0 KiB each and 1.0 MiB total.

Upvotes
38 0 1 3

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 512.0 KiB each and 1.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 512.0 KiB each and 1.0 MiB total.

Upvotes
11.3k 26 9 14

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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