|
From: Toli K. <to...@ma...> - 2006-11-08 19:47:43
|
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! -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |