question

Upvotes
Accepted
22 7 9 11

How do I go about setting up a TREP RFA API environment in java?

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
9.7k 49 38 60

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.

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
9.5k 10 5 7

Hello @josa

To setup RFAJ Configuration, please refer to Tutorial 2 - Understanding RFA Java Configurations

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
22 7 9 11

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

Thanks,

josa

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.

Hi josa,

There are 2 key items you need to confirm are correct:

  1. Server (ADS) hostname/IP
  2. 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).

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.

Upvotes
22 7 9 11

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?

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
22 7 9 11

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)?

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
9.5k 10 5 7

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.

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
22 7 9 11

Thanks @Pimchaya.Wongrukun. Will contact Andrew and let you know if am still having issues setting this up.

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
9.7k 49 38 60

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.

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