Re: [Quickfix-developers] RE: Request resend
Brought to you by:
orenmnero
From: Caleb E. <cal...@gm...> - 2006-04-12 13:42:17
|
On 4/12/06, Fad <s.f...@gm...> wrote: > > The problem has resolved. > In toApp method of my Application I worte code like that present in the > QuickFix examples : > > void KCApplication::toApp( FIX::Message& message, const FIX::SessionID& > sessionID ) > throw( FIX::DoNotSend ) > { > try > { > FIX::PossDupFlag possDupFlag; > message.getHeader().getField( possDupFlag ); > if ( possDupFlag ) > { > throw FIX::DoNotSend(); > } > } This is at least the second time I can recall someone has been bitten by copying this example code. I'm going to remove that check for possDupFlag. I've removed this section of Application::toApp from the example program to hopefully prevent future misunderstandings like this. > this code don't work properly, I replace that code with this and all is > ok: The code works exactly as it should. It doesn't process messages with the PossDup flag set. This is arguably dumb, but it works exactly as designed. -- Caleb Epstein caleb dot epstein at gmail dot com |