{{Quickfixn}} Bringing down an individual session

Mike Gatny mgatny at connamara.com
Fri Feb 28 08:06:14 PST 2020


Campbell,

The feature you want is "Dynamic Sessions", which was added a few years ago.

See: https://github.com/connamara/quickfixn/pull/314 and
https://github.com/connamara/quickfixn/blob/master/UnitTests/SessionDynamicTest.cs

--
Mike Gatny
Connamara Systems


On Fri, Feb 21, 2020 at 11:16 AM Grant Birchmeier <gbirchmeier at connamara.com>
wrote:

> You have not missed anything.  That's simply a procedure that QF/n doesn't
> support.  I don't think any of the QF ports support that.
>
> On Fri, Feb 21, 2020 at 10:03 AM Campbell Wild <
> Campbell.Wild at ihsmarkit.com> wrote:
>
>> What's the recommended approach for bringing down an individual FIX
>> connection?
>>
>> If I have several FIX sessions configured within the same engine, I don't
>> want to have to bring all the sessions down (i.e. stop the app, comment out
>> the one session in the config to prevent it from starting up, starting up
>> the app again) as the other sessions may be processing messages, and
>> restarting will cause them to have to resync with the overhead of checking
>> for PossResends etc.
>>
>> Last time I checked, there didn't appear to be any way of modifying the
>> running config.  Ideally I would like to modify the loaded config by
>> setting the session End time to the next minute which would bring the
>> engine down neatly.  I can actually change the values in the running
>> config, they just don't get reloaded.
>>
>> The only way I've managed to emulate this is to force send a Logout
>> message, then essentially ignore all incoming messages.  But the engine
>> then keeps trying to reconnect.
>>
>> Similarly, I'd like to start the engine up with certain sessions
>> inactive, that could be enabled at runtime, without requiring a restart.
>>
>> Just wondering if I've missed something obvious, or if the only "real"
>> way to do this is to restart the application.
>>
>> 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 IHSMarkit is prohibited. This
>> email is subject to all waivers and other terms at the following link:
>> https://ihsmarkit.com/Legal/EmailDisclaimer.html
>>
>> Please visit www.ihsmarkit.com/about/contact-us.html for contact
>> information on our offices worldwide.
>> _______________________________________________
>> Quickfixn mailing list
>> Quickfixn at lists.quickfixn.com
>> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>>
>
>
> --
> Grant Birchmeier
> *Connamara Systems, LLC*
> *Made-To-Measure Trading Solutions.*
> Exactly what you need. No more. No less.
> http://connamara.com
>
> This email, along with any attachments, is confidential. If you believe
> you received this message in error, please contact the sender immediately
> and delete all copies of the message. Thank you from Connamara Systems, LLC.
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>

-- 
This email, along with any attachments, is confidential. If you believe you 
received this message in error, please contact the sender immediately and 
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200228/918b6b21/attachment.htm>


More information about the Quickfixn mailing list