Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by s0nny · Jul 27, 2021 at 05:36 AM · treprfarfa-apijavaconfiguration

Multiple servers and services in a single RFA configuration file

Hi everyone,

If we have just one RFA configuration file, is it possible to specify 2 different servers that provide 2 different feeds?

For example, is it possible to include the following details in one RFA configuration file:

# Connection to serverC to get feed C

connectionType = "SSLED"
PortNumber = 8201
serverList = "IP address of serverC that provides feed C"
serviceList = feed C

# Connection to serverX to get feed X
connectionType = "SSLED"
PortNumber = 8101
serverList = "IP address of serverX that provide feed X"
serviceList = feed X

And if this is possible, would someone kindly guide me on how to use RFA API to look at this single RFA file and the 2 feeds C and X?
For example, what parameters do we specify in the RFA methods, to distinguish between feed C and feed X etc


Thank you very much.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by umer.nalla · Jul 27, 2021 at 10:38 AM

Hi @s0nny

Assuming that feed C and feed X are published using different service names, you can create two Connections and then reference those two connections in the Session that you acquire() in your code

e.g.

\Connections\Connection_SSLED1\PortNumber             = 8101
\Connections\Connection_SSLED1\UserName               = "<username>"
\Connections\Connection_SSLED1\ServerList             = "<serverList>"
\Connections\Connection_SSLED1\connectionType         = "SSLED"

\Connections\Connection_SSLED2\PortNumber             = 8201
\Connections\Connection_SSLED2\UserName               = "<username>"
\Connections\Connection_SSLED2\ServerList             = "<serverList>"
\Connections\Connection_SSLED2\connectionType         = "SSLED"

\Sessions\Session1\connectionList  = "Connection_SSLED1,Connection_SSLED2"

In your code

pSession = Session::acquire(RFA_String("Session1", 0, false));

Note that the serviceList parameter is normally only used for remapping service names e.g. if two servers are both publishing services with the same name.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by s0nny · Jul 28, 2021 at 06:48 AM

Thank you very much Umer,


As i don't have access to the RFA folders belonging to other teams, would you share or let me know where to find the RFA Java document?


So as to understand more about the acquire() method.
I assume 0 means the first parameter in connectionList?


Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
REFINITIV
Answer by umer.nalla · Jul 28, 2021 at 08:05 AM

Hi @s0nny

The RFA Java documentation is available at Documentation | Refinitiv Developers

However, as you are working with the Legacy SSLED interface, you may find you have to download an older RFA version and extract the documentation from the Legacy\Docs folder on the zip file.

The RFA config guide will contain further details on the config file parameters and the Developer guide will have more details on the Session::acquire usage.

The above config and code snippet I quoted was for RFA C++, for RFA Java the code would be something like:

_session = Session.acquire("Session1");

Not sure what you mean about first parameter in the Session list?

When you acquire a session, you are 'establishing a connection' between your application and both the servers. Once you acquire this single session, you can use that session to subscribe instruments from both services by setting the required service name in the MarketDataItemSub request.

If, however, you want to use separate sessions for each server - you are can do so, by defining 2 sessions - one for each connection and then acquiring each session individually.


Comment
wasin.w

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

RFA Config editor's function

Can we set up an RFA Session without using the Config Editor?

RFAJ8.0 ConfigDb, unable to acquire a Session

what does this message mean processOpenStreamForRefresh

Disable Error message box in RFA

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges