Posting using OMM consumer
Hi developer community
I'm using right now the RFA 7.6 java API. I'm trying to create an OMM consumer which will contribute prices to an ADH.
I'm using an off stream contribution (using login session), and then I'm trying to post messages.
Assuming that I'm contributing to a service X with a RIC Y, in each contribution (initial one or the updates), I’m using those parameters:
payloadOMMMsg.setMsgType(OMMMsg.MsgType.POST); payloadOMMMsg.setIndicationFlags(OMMMsg.Indication.POST_INIT | OMMMsg.Indication.POST_COMPLETE);
The problem is that in the ADH, I'm seeing the number of active contributor incrementing on each updates, and in the logs, it seems that my RIC is created each time, meaning that the updates are not handled by the first RIC created. Could you explain me what I missed?
My goals is to contribute on a specific RIC Y, if it exists that’s cool, if not, the ADH should create it, after that, I should send price update to this specific RIC using OMM posting. How can I do that if my last approach is wrong?