RE: [Quickfix-developers] Dynamic allocation of incoming sessions?
Brought to you by:
orenmnero
|
From: Steve B. <sb...@sm...> - 2006-05-09 14:14:11
|
Graham and Dale and others, =20 I've been considering this feature for QFJ. My current thinking is that I'd create a new interface for a session definition repository. This repository interface would support notifications for session definition create, update and delete. SessionSettings would be refactored to implement this interface. However, the implementation would only support static init-time session definitions and the notification support would not be used. The other QFJ classes would be modified to only use the session repository interface. This would allow us to create alternative dynamic session repositories using JDBC, LDAP, or whatever without breaking the existing API. The acceptors and initiators would be modified to respond to session definition change notifications so that sessions could be created and deleted dynamically. I'm not sure yet about the update. It may just be implemented as a session delete and then create with the new configuration (for changing FIX version, data dictionary, ...). =20 This is the theory. I haven't created any prototypes yet. I'm definitely interested in comments. =20 Steve ________________________________ From: qui...@li... [mailto:qui...@li...] On Behalf Of Dale Wilson Sent: Tuesday, May 09, 2006 3:43 PM To: Graham Miller Cc: qui...@li... Subject: Re: [Quickfix-developers] Dynamic allocation of incoming sessions? =09 =09 Hi Graham, =09 I've looked into allowing dynamic configuration of sessions in C++. It look feasable, but certainly not easy. Since my company's business model is doing sponsored work on open source projects, I probably won't tackle it until/unless we can find someone to sponsor the work. I'd be interested to hear if Oren (or anyone else) has plans in that direction. =09 Dale =09 Graham Miller wrote:=20 QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html=20 QuickFIX Support: http://www.quickfixengine.org/services.html=20 =09 Hello all,=20 I was looking at the implementation of DefaultSessionFactory, and=20 thought it would be easy to subclass that to allow dynamic=20 configuration of sessions (that is, configuring sessions on the fly=20 based on parameters in a database or LDAP server at connect time). However it appears that quickfix expects to find entries for all the=20 valid sessions in the configuration file, which is read only once at=20 startup. Has anyone looked at making this more dynamic? Is there any=20 interest or opinions on how it should be done?=20 =09 For reference I'm looking only at the Quickfix/J code, because I'm=20 living in Java-land right now.=20 =09 graham=20 =09 =09 -------------------------------------------------------=20 Using Tomcat but need to do more? Need to support web services, security?=20 Get stuff done quickly with pre-integrated technology to make your job easier=20 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo=20 =09 http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642=20 _______________________________________________=20 Quickfix-developers mailing list=20 Qui...@li...=20 =09 https://lists.sourceforge.net/lists/listinfo/quickfix-developers=20 =09 |