Re: [Quickfix-users] Post-processing
Brought to you by:
orenmnero
From: Kenny S. <ks...@co...> - 2011-04-15 13:23:53
|
One way to do this is to use this callback: toApp( Message& msg, const SessionID& sessionID) And then take some code path based on the SessionID that is passed in. -- Kenny Stone Connamara Systems, LLC On Thu, Apr 14, 2011 at 10:29 PM, Martin Dengler <ma...@ma...>wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > On Thu, Apr 14, 2011 at 06:36:08PM +0000, Richard Hedin wrote: > > I have an application that sends information to a variety of > > destinations [and] it is emerging that some of those destinations > > want special treatment. [...] It would be nice to do some > > [in-process] post-processing [perhaps with] awk, or the perl regular > > expression processor. > > > > Will I break anything if I pull the string representing the fix > > message back from the QuickFix engine right before I call > > Session.sendToTarget, possibly change the string, give it back to > > the engine, and call sendToTarget? > > Won't you risk invalidating BodyLength? > > Usually it's best to leave the destination-specific processing as late > as reasonable. For some volume/fault-tolarance goals, separate > forwading "destination" processes that do per-destination > post-processing might make the most sense. > > > Regards, > > > > Rick > > Martin > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Quickfix-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-users > > |