question

Upvotes
Accepted
3 0 0 3

PauseAll and ResumeAll has no effect

RFA 7.5

I am trying to pause or resume for all instruments with reference to

https://docs-developers.thomsonreuters.com/1542702454237/4731/Docs/WebDocs/wwhelp/wwhimpl/js/html/wwhelp.htm#href=RFA%20.NET%20Developers%20Guide/RFANET_DevelopersGuide.1.421.html

&

https://community.developers.refinitiv.com/questions/9526/how-to-call-pause.html

When I call Pause and Resume. There is no error but nothing seems to happen as well.

internal long Login()
        {
            _loginReqMsg = (ReqMsg) new LoginMessage(this.connection.Config).Create();
            _ommItemIntSpecLogin = new OMMItemIntSpec { Msg = new LoginMessage(this.connection.Config).Create() };
            return this.connection.OmmConsumer.RegisterClient(this.connection.EventQueue, _ommItemIntSpecLogin, this, null); //loginHandle
        }
        internal void Pause(long loginHandle)
        {
            _loginReqMsg.InteractionType = ReqMsg.InteractionTypeFlag.Pause;
            _ommItemIntSpecLogin.Msg = _loginReqMsg;
            connection.OmmConsumer.ReissueClient(loginHandle, _ommItemIntSpecLogin);
        }
        internal void Resume(long loginHandle)
        {
            _loginReqMsg.InteractionType = ReqMsg.InteractionTypeFlag.InterestAfterRefresh;
            _ommItemIntSpecLogin.Msg = _loginReqMsg;
            connection.OmmConsumer.ReissueClient(loginHandle,_ommItemIntSpecLogin);
        }
treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
7.6k 15 6 9

@tino.chow
It looks like the server you are connecting to does not support Pause/Resume.

Basically, we can check SupportOptimizedPauseResume element of the login response to determine whether a provider supports Pause and Resume. If a provider does not support Pause and Resume, RFA will internally drop the pause or resume request.

-Can you please check rfa.log if it has any warning message about pause/resume like below sample log?

[Thu Jun 7 10:53:30 2018]: (ComponentName) Static: (Severity) Warning: Connection "Connection_RSSL" does not support Pause/Resume. Pause and Resume requests for this connection will be ignored. 

If you have the message in rfa.log, it means the server does not support the feature. You migh need to contact Account Team or Market Data engineer who take care of your server to setup the infra to support pause/resume.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea