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 david.heggie · May 22, 2017 at 06:54 AM · rfajavaproviderCustom

TREP stripping AttribInfo from UPDATE_RESP messages using custom model

We have noticed an issue with a provider we have written with the JAVA RFA API 7.2.1. We are using a custom domain model (128) and when we send UPDATE_RESP messages through our TREP the AttribInfo is being stripped off. REFRESH_RESP messages traverse the TREP without modification.

Successful REFRESH_RESP
Provider sends

MESSAGE
	Msg Type: MsgType.REFRESH_RESP
	Msg Model Type: Unknown Msg Model Type: 128
	Indication Flags: REFRESH_COMPLETE | CLEAR_CACHE
	Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_QOS | HAS_RESP_TYPE_NUM | HAS_STATE
	State: OPEN, OK, NONE,  "OK"
	Qos: (RT, TbT)
	Group: 0001
	RespTypeNum: 0(REFRESH_SOLICITED)
	AttribInfo
		ServiceId: 417
		Name: EXCH_STATUS
		NameType: 1
	Payload: 11 bytes
		FIELD_LIST
			FIELD_ENTRY 20002: 01

Client receives

MESSAGE
	Msg Type: MsgType.REFRESH_RESP
	Msg Model Type: Unknown Msg Model Type: 128
	Indication Flags: REFRESH_COMPLETE | CLEAR_CACHE
	Hint Flags: HAS_ATTRIB_INFO | HAS_ITEM_GROUP | HAS_QOS | HAS_RESP_TYPE_NUM | HAS_STATE
	State: OPEN, OK, NONE,  "OK"
	Qos: (RT, TbT)
	Group: 0001
	RespTypeNum: 0(REFRESH_SOLICITED)
	AttribInfo
		ServiceId: 417
		Name: EXCH_STATUS
		NameType: 1
	Payload: 11 bytes
		FIELD_LIST
			FIELD_ENTRY 20002: 01

Unsuccessful UPDATE_RESP
Provider sends

MESSAGE
        Msg Type: MsgType.UPDATE_RESP
        Msg Model Type: Unknown Msg Model Type: 128
        Indication Flags:
        Hint Flags: HAS_ATTRIB_INFO | HAS_RESP_TYPE_NUM
        RespTypeNum: 0  AttribInfo
                ServiceId: 1
                Name: EXCH_STATUS
                NameType: 1
        Payload: 11 bytes
                FIELD_LIST
                        FIELD_ENTRY 20002: 02

Client receives

MESSAGE
	Msg Type: MsgType.UPDATE_RESP
	Msg Model Type: Unknown Msg Model Type: 128
	Indication Flags: 
	Hint Flags: HAS_RESP_TYPE_NUM
	RespTypeNum: 0	Payload: 11 bytes
		FIELD_LIST
			FIELD_ENTRY 20002: 02

As you can see the AttribInfo has disappeared.

Does anyone have an idea as to what is going on?

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
Best Answer
Answer by Lars-at-Addicticks · May 22, 2017 at 07:13 AM

If the subscriber hasn't requested attrib-info-in-updates when he made the subscription, then AttribInfo will be left out from all UPDATE messages. So, this is by design. TREP will remove it because the subscriber didn't ask for it.

A subscriber shouldn't really have a need for the information in AttribInfo on messages of type UPDATE, only on messages of type REFRESH, hence the feature exists to include it or not, and the default is that the subscriber must explicitly ask for it if he wants it.

Comment
jirapongse.phuriphanvichai

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.

avatar image
REFINITIV
Answer by umer.nalla · May 22, 2017 at 07:41 AM

Hi @david.heggie,

You can set OMMMsg.Indication.ATTRIB_INFO_IN_UPDATES in your Consumer ReqMsg if you really want AttribInfo in your updates, but the generally this is avoided to minimise TREP bandwidth etc.

See section 6.2.5 Indication Flags of the RFA Java Developers guide for more detail.

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 david.heggie · May 22, 2017 at 08:33 AM

Perfect, thanks for the help.

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

Related Questions

Decoded login message has wrong OMMMsg.MsgType

RFA Config editor's function

Download Dictionary and Load data using RFA

Determining Fx Rates

How to encode msgKey attribute in RFA Java

  • 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