The QuickStartConsumer contains an example code for consuming data from OMM Provider/Refinitiv Real-Time only. Please refer to the RFA Java StarterConsumer_Post example which demonstrates how to subscribe and post to a provider application (including ATS) using the RSSL connection.
The StarterConsumer_Post example is available at <RFA Java package>\Examples\com\reuters\rfa\example\omm\postingConsumer folder.
Please refer to "Prerequisites to Posting messages to ATS via TREP" and "Sample Posting with Adding RIC and Fields" sections of the article 1 and the answer of my colleague in this post regarding how to run the StarterConsumer_Post example.
Which API that you are using? Is it the Elektron APIs or Eikon Data API?
If you are using Elektron APIs (EMA or ETA), you can find more detail regarding how to create RIC with ATS server grammatically and how to post data to ATS via the following articles:
Can you please expand on what you mean by 'create RIC'? Where do you wish to create it - on the ATS as per my colleague's reply above - or elsewhere e.g. in the ADH Cache?
Who are the target consumers for the RIC - internal users and/or external users?
Thank you for clarification. I suggest you check article part 1 and part 2 which cover concept of ATS Posting and RIC creation/update/delete. The articles contain the importation requirement and OMM message structure which can apply to all Elektron APIs (including RFA).
You may check the EMA Java example code in the articles as the API is similar mechanism as RFA Java.
I'm refereing below example to create request but dont have any reference to create OMMrequest to create/delete ric/fid. Appreciate your response.
There is similiar post but i believe require some more explanation :