I am using RFA.NET(version 8 64 bit) library to Post messages. I am using below method of the dll to submit messages,
OMMHandleItemCmd handleCmd = new OMMHandleItemCmd();
handleCmd.Handle = handle;
handleCmd.Msg = postMsg;
this.ommConsumer.Submit(handleCmd);
Below are my concerns,
1) Is there a way through which i can check whether submit is successful or not to ADS server?
I know that return type of above Submit method is uint. But this just gives the sequencial number.
e.g If i call submit metod for first time i get 1 and for second time i get 2 and so on.
2) Is there some queue which RFA maintains internally, where i can check the number of pending items which are not published yet?
3) Before calling Submit method, can i check whether a connection to the ADS server is up and running on the specified port.
We are facing an issue where in our messages are not published on calling Submit method.
(We have windows service where our code is hosted. Once we restarted the service i.e. again register a client with the connection then our publications are posted successfully to reuters)
I want to make sure by doing above validations that once we call submit method our messages are succesfully published to Reuters.
Can someone please help me with this.