[Quickfix-developers] Problem with Message craker
Brought to you by:
orenmnero
From: Raja <sra...@ga...> - 2008-12-02 18:17:45
|
I am using C++ version of quick fix. I am using message cracker. I have defined the following in my application void onMessage( const FIX42::NewOrderSingle&, const FIX::SessionID& ); void onMessage( const FIX42::OrderCancelRequest&, const FIX::SessionID& ); void onMessage( const FIX42::OrderCancelReplaceRequest&, const FIX::SessionID& ); void onMessage( const FIX42::SecurityDefinitionRequest&, const FIX::SessionID& ); I have coded the logic for these in my cpp. For 35=D my code gets executed properly. But when there is a cancel 35=F, the message cracker throws a "Unsupported message" error. It does not come to my code at all. I was debugging Message cracker. This code gets executed. virtual void onMessage( const OrderCancelRequest&, const FIX::SessionID& ) { throw FIX::UnsupportedMessageType(); } Why my function overload is not working. I have verfied the signature. What am I doing wrong? I would appreciate any help on this. Regards, Raja Phone 312-928-8006 GatewayCapital Group Chicago |