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 Catherine Wong · May 31, 2017 at 02:55 AM · RFAJ

What does an update directory message containing an empty map entry mean?

In RFAJ_RDMUsageGuide.pdf, “If the client specifies a service name in a directory request, it receives the directory response for just the requested service. If the requested service name is not available to RFA, RFA responds with a refresh message that contains an empty map entry in the payload.” If the application receives an update directory message containing an empty map entry in the payload what does this mean?

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.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Pimchaya.Wongrukun · May 31, 2017 at 03:05 AM

The update message means there is change on a service which the application does not request for; RFA has removed the changed info of non-requested service from the map so the map is empty. Hence, the application can ignore this update message.

Please see details below:

Even you application sets the service name e.g. SERVICE_A into a directory request:

Msg Type: MsgType.REQUEST   
Msg Model Type: DIRECTORY   
Indication Flags: REFRESH   
Hint Flags: HAS_ATTRIB_INFO   
AttribInfo     
     ServiceName: SERVICE_A     
     Filter: 3 (INFO | STATE)   
Payload: None

RFA still requests directory for all services. This is current expected behavior of RFA:

Msg Type: MsgType.REQUEST
Msg Model Type: DIRECTORY
Indication Flags: REFRESH
Hint Flags: HAS_ATTRIB_INFO
AttribInfo   
     Filter: 63 (INFO | STATE | GROUP | LOAD | DATA | LINK)
Payload: None

Hence, RFA receives response messages (refresh and update) including all services info e.g. info of SERVICE_A and SERVICE_B:

Since the application requests only a specific service (SERVICE_A), RFA removes non-requested service info(SERVICE_B) from the message and pass the message to the application. So the application receives only info from the service that it has requested:


refreshfromserver.png (20.8 KiB)
refreshtoapp.png (18.5 KiB)
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 Pimchaya.Wongrukun · May 31, 2017 at 03:07 AM

When there is update on SERVICE_B e.g. SERVICE_B goes down, RFA receives an update message with 1 entry map; SERVICE_B(service id 4844) map entry containing down state:

The application does not request SERVICE_B directory; it requests SERVICE_A directory so RFA removes SERVICE_B map entry. The only 1 map entry has been removed; the update message contains an empty map entry. Then, RFA pass the message to the application:

That’s why the application receives an update message containing an empty map entry in the payload.


updatefromserver.png (11.2 KiB)
updatetoapp.png (6.4 KiB)
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.

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 >
7 People are following this question.

Related Questions

Login rejected. Non-consumer attempting login [RFAJ]

How to check the status of service from which I am subscribing the update programmatically?

We are building Level2 MarketByPrice data feed using RFA API and got Invalid InterestSpec type received

Duplicate subscription in RFA

RFAJ gives "Released MSG into wrong OMMPool" error message on the encoder.initialize call

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • 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
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges