|
From: Brad H. <Bra...@gb...> - 2006-11-08 22:15:30
|
Hi Toli, To avoid API changes you could wrap your FIX Message in an object that has some sort of header for routing info, and a payload for the actual FIX message. I'm envisaging something similar to JMS messages. =20 Cheers, Brad.=20 -----Original Message----- From: qui...@li... [mailto:qui...@li...] On Behalf Of Toli Kuznets Sent: Thursday, 9 November 2006 5:47 AM To: qui...@li... Subject: [Quickfixj-users] Adding qualifier to quickfix Message QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ QuickFIX/J Support: http://www.quickfixj.org/support/ Hey guys, Wanted to ask for advice on the best way to decouple the business logic from sending logic in quickfixj. For example, we are trying to use a messaging framework where our "OrderManager" would drop a completely configured FIX message on a queue that will then be sent out by another thread. To send the message, we need to have the FIX message configured with all the sessionID routing info (sender/targetIDs + beginString + qualifier). However, currently it's not possible to set the qualifier on the Message object itself - there's no setter for that, and we don't want to invent a custom FIX field to store it in the message itself either. What would you recommend the best approach to solve this? A change to the API (adding quickfix.Message.setQualifier() and changing quickfix.Message.setSessionID to be public instead of package-protected) would solve our problem, but it's a change to the API and i'm not sure it's the best approach. any other ideas/advice? thanks! --=20 Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Quickfixj-users mailing list Qui...@li... https://lists.sourceforge.net/lists/listinfo/quickfixj-users |