How do I go about setting up a TREP RFA API environment in java?
Best Answer
-
You can refer to Creating a barebones RFA application in Java to help you set up an API environment to build RFA Java applications. In addition, the RFA Java Dev kit contains examples which will also assist in understanding what is required to build your applications.
0
Answers
-
Hello @josa
To setup RFAJ Configuration, please refer to Tutorial 2 - Understanding RFA Java Configurations
0 -
Thanks @nick.zincone.1 and @Pimchaya.Wongrukun.
I followed the instructions and tried running Tutorial_06 and I could not get Login Successful message. Am running Java 8 example. Is there anything am doing wrong?
*****************************************************************************
* Begin RFA Java StarterConsumer Program *
*****************************************************************************
Loading config DB from Config File:<../../Config/RFAJava_Config.xml>
RFA Version: 8.0.1.E2.all.rrg
Dec 09, 2016 5:00:58 PM com.reuters.rfa.internal.session.SessionImpl processEventQueueDispatchThreadStarted
FINE: com.reuters.rfa.session.myNamespace.consSession
Session initialization: Dispatch thread "myNamespace::consSession Session EventQueueGroup" started
LoginClient: Sending login request...
dispatch messages...
LoginClient.processEvent: Received Login Response...
LoginClient: Received Login Response - MsgType.REFRESH_RESP
MESSAGE
Msg Type: MsgType.REFRESH_RESP
Msg Model Type: LOGIN
Indication Flags: REFRESH_COMPLETE
Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_RESP_TYPE_NUM | HAS_STATE
State: OPEN, SUSPECT, NONE, "All connections pending"
Group: 0000
RespTypeNum: 0 (RespType.SOLICITED)
AttribInfo
Name: user
NameType: 1Dec 09, 2016 5:00:58 PM com.reuters.rfa.internal.session.ConnectionHandler createConnections
FINE: com.reuters.rfa.session.myNamespace.consSession
Session initialization: acquiring connection "myNamespace::consConnection"
(USER_NAME)
Attrib
ELEMENT_LIST
ELEMENT_ENTRY ApplicationId: 256
ELEMENT_ENTRY Position: localhost/josa6540
ELEMENT_ENTRY AllowSuspectData: 1
ELEMENT_ENTRY SingleOpen: 1
ELEMENT_ENTRY SupportBatchRequests: 7
ELEMENT_ENTRY SupportOptimizedPauseResume: 1
ELEMENT_ENTRY SupportPauseResume: 1
ELEMENT_ENTRY SupportViewRequests: 1
ELEMENT_ENTRY SupportEnhancedSymbolList: 1
ELEMENT_ENTRY SupportOMMPost: 1
Payload: None
dispatch messages...
Dec 09, 2016 5:00:58 PM com.reuters.rfa.internal.connection.ConnectionImpl processConnectionStatusOpenReqMsg
FINE: com.reuters.rfa.connection.rssl.myNamespace.consConnection
Sending CONNECTION_STATUS_MSG, connection name = myNamespace::consConnection, status = { state: DOWN, code: NONE, text: "uninitialized"}
dispatch messages...
dispatch messages...
3 seconds elapsed, class com.reuters.rfa.example.omm.cons.StarterConsumer cleaning up...
RWF: 14.1Thanks,
josa
0 -
Hi josa,
There are 2 key items you need to confirm are correct:
- Server (ADS) hostname/IP
- Login user name
I can see from above you are likely using the packaged 'RunConsumer.bat' script which uses the username: 'user'. You may need to change this if your market data environment has permissions enabled. Secondly, confirm your ADS host name, i.e. 'serverList' defined within your RFAJava_Config.xml is correct.
If you are looking to create a market data consumer application in Java and are not restricted to using RFA, I would highly encourage you to consider using the Elektron Message API (EMA).
0 -
Hello josa,
You should confirm ADS host/port and login user name if they are correct with:
-Thomson Reuters Account team if you connect to Thomson Reuters Server
or
-Your ADS admin if you connect to your company server
If all are correct:
a) Check if the server and
port is available using telnet <server> <port>b) Check with your
network admin if the firewall allows your machine sends/receives messages to/from the server.0 -
Hi @nick.zincone and @Pimchaya.Wongrukun, the problem am having in the first place is that we don't have a company server set up for TREP RFA data. Question is how do we set this up? I have been using my development machine for this hence am having this problem. Could you help please provide info on how to set this up?
0 -
Thanks @nick.zincone.1 and @Pimchaya.Wongrukun.
The problem am having in the
first place is that we don't have a company server set up for TREP RFA
data. Question is how do we set this up? I have been using my
development machine for this hence am having this problem. Could you
help please provide info on how to set this up (including installation files and configurations)?0 -
Hello @josa
The overall system that RFA gets data:
a feed -> TREP -> RFA
Now you have RFA but you need a feed and TREP to be able to consume data.
You should contact Account team,Andrew Forman(andrew.forman@thomsonreuters.com) who can provide you with the solution which serve your requirements. e.g. the proper feed, TREP components that you need to install or use Thomson Reuters's TREP.
0 -
Hi @josa,
Alternatively, if your goal is to test connectivity and see data coming through, you may be able to use the interactive Provider example within the RFA package. In general, a Consumer connects to a Provider. In the typical case, when you write an RFA Consumer, you connect into TREP, specifically the ADS component which acts as a Provider of data. So in theory, you can try to build both the Consumer and Interactive Provider examples and wire them up to see data flowing through. Something to consider.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 687 Datastream
- 1.4K DSS
- 622 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 557 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 276 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 680 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 91 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛