question

Upvotes
Accepted
38 0 1 2

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.

Hello @Kung.S

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

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 2

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