Re: [Quickfix-developers] Adding tag/value to header for all outbound messages in sessi on?
Brought to you by:
orenmnero
|
From: Ananth, A. <aro...@cr...> - 2007-06-27 14:40:09
|
Hi Haroon, I am not aware of any inbuilt support to add OnBehalfOfCompID, But had such requirement to populate this tag in all my outgoing message (both ADMIN and APP). I modified my toApp() and toAdmin() to set this tag manually. msg.getHeader().setField(MyClass.OnBehalfOfCompID()); Regards, Ananth -----Original Message----- Message: 1 Date: Tue, 26 Jun 2007 09:42:21 -0700 (PDT) From: Aitch <har...@ho...> Subject: [Quickfix-developers] Adding tag/value to header for all outbound messages in session? To: qui...@li... Message-ID: <113...@ta...> Content-Type: text/plain; charset=us-ascii Hi all - I would really appreciate any tips or help on this problem, it doesnt seem too complex but I've tried many things (and searches of these forums) and am at a loss. I want to add a value into the OnBehalfOfCompID tag for hte duration of the entire session, including logon/off messages. I've tried a few things with this such as adding the value for each message sent, or just adding the value in within the toAdmin method, however I'm looking for a more correct solution. It seems straightforward enough for the sender/target compIDs? Thanks H -- View this message in context: http://www.nabble.com/Adding-tag-value-to-header-for-all-outbound-messages-in-session--tf3983449.html#a11309244 Sent from the QuickFIX - Dev mailing list archive at Nabble.com. ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ============================================================================== |