Re: [Quickfix-developers] Configuration seems broken when mixing acceptor and initiator sessions
Brought to you by:
orenmnero
From: Peter P. <pet...@ho...> - 2008-12-05 15:56:36
|
Thanks for the suggestion! In fact, I'm not using configuration files (I need to be able to build the dictionary in code) but I will try using separate dictionaries which should be the equivalent to what you have. Dan From: jo...@ha... To: pet...@ho...; qui...@li... Subject: RE: [Quickfix-developers] Configuration seems broken when mixing acceptor and initiator sessions Date: Fri, 5 Dec 2008 10:16:48 -0500 I managed to get this to work by creating two separate config files - one for the initiators and one for the acceptors. I don't know if this is the "preferred" way to do it, but I can tell you it works in production for me every day. John From: Peter Piper [mailto:pet...@ho...] Sent: Friday, December 05, 2008 9:56 AM To: qui...@li... Subject: [Quickfix-developers] Configuration seems broken when mixing acceptor and initiator sessions Hi, I am trying to have a single application that is both an initiator and an acceptor. When I try to start my ThreadedSocketAcceptor, it looks through all of the configuration entries and appears to complain that the session with a ConnectionType set to "initiator" does not contain an entry for "SocketAcceptPort". Why is the acceptor code trying to use all of the settings in this way, including the initiator settings? Has anyone got mixed-initiator/acceptor applications to work? If so, would you be able to gve me a quick summary of how you assign one set of sessions to the acceptor and another set to the initiator? Thanks, Dan Win John Lewis vouchers with BigSnapSearch.com Search now No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.14/1831 - Release Date: 12/5/2008 9:57 AM _________________________________________________________________ Are you a PC? Upload your PC story and show the world http://clk.atdmt.com/UKM/go/122465942/direct/01/ |