Re: [Quickfix-developers] Crack Message
Brought to you by:
orenmnero
From: Hozaifa A. A. <hoz...@ve...> - 2008-03-03 06:58:56
|
Hello You can extend 'MessageCracker' and implement the messages events you required example: public override void onMessage( QuickFix42.NewOrderSingle order, SessionID sessionID ) { } public override void onMessage( QuickFix42. ExecutionReport report, SessionID sessionID ) { } Etc. Or just implement public void fromApp(QuickFix.Message message, SessionID sessionID) { switch (message.getHeader().getField(35)) { case "d": break; } } Also try to add SessionQualifier to the configuration setting and give any name to them for both order and marketdata. Maybe that let you connect on first attempt. This helped me to connect. maybe u also can. Regards, Hozaifa Akber Ali From: qui...@li... [mailto:qui...@li...] On Behalf Of Parjeet Singh Sent: Monday, March 03, 2008 11:32 AM To: qui...@li... Subject: [Quickfix-developers] Crack Message This may be a simple question but I am struggling at the moment. I have created a message and sent to client side: Using Session.sendToTarget(message,"nnnn","cccc"). In the first instance my message got rejected. How can I handle rejected message and resend back to the client. Another issue how can I crack a message I am working with C#. Is there any example available. Thanks in advance. Regards PS |