Re: [Quickfix-users] Post-processing
Brought to you by:
orenmnero
From: Martin D. <ma...@ma...> - 2011-04-15 04:06:13
|
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 |