{{Quickfixn}} Disabling sessions

Martin Adams martinadamsgh at gmail.com
Tue Feb 2 05:52:44 PST 2016


Dynamic session capability has been added recently.

 

If you have the current master branch code, take a look the new methods in
IAcceptor and IInitiator interfaces.

 

This functionality won't let you disable a session, but will let you remove
a session entirely, which will achieve the same effect. If you want to
re-instate the session later, you'll have to add it back again.

 

Also note there's a currently an issue with this functionality (number 363).

 

Martin

 

From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of
Campbell Wild
Sent: 02 February 2016 12:48
To: quickfixn at lists.quickfixn.com
Subject: {{Quickfixn}} Disabling sessions

 

What is the best/recommended way to disable an active session?

 

I have an application that supports multiple sessions active.  Currently, in
order to disable a session I have to stop my app, modify the session config
file, then start up again.  It would be nice to dynamically disable a
session without requiring a restart so that other active sessions are not
affected by the downtime.

 

I can currently force out a Logout message, which will terminate the active
session.  However, on the next cycle, I am (as an initiator) automatically
sending out a new LogOn message.

 

I had thought I could perhaps suppress the Logon by firing a DoNotSend
exception, however, this looks to only be supported in ToApp and not ToAdmin
and so this won't work.

 

Any suggestions welcome.

 

Thanks,
Campbell

 

 

  _____  


This e-mail, including accompanying communications and attachments, is
strictly confidential and only for the intended recipient. Any retention,
use or disclosure not expressly authorised by Markit is prohibited. This
email is subject to all waivers and other terms at the following link:
http://www.markit.com/en/about/legal/email-disclaimer.page

Please visit http://www.markit.com/en/about/contact/contact-us.page for
contact information on our offices worldwide.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20160202/c9993a0d/attachment-0002.htm>


More information about the Quickfixn mailing list