|
From: andre m. <an...@gm...> - 2007-04-11 14:05:55
|
Thanks, yeah I thought about that too, But i was hoping to do set it declaratively in the [SESSION] section of configuration rather than programmatically. Zoltan_Feledy wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Andre, > > You can get the value into a variable with: > sndrSubID = settings.getString( sessionID, "SenderSubID" ); > > Then you would need to access the header of whatever message you want to > put it on: > Header header = (Header) message.getHeader(); > > Then create a SenderSubID object: > SenderSubID senderSubID = new SenderSubID( sndrSubID ); > > And set it on the header: > header.set( senderSubID ); > > > Hope this helps, > Zoltan > > > > > andre mermegas > <an...@gm... > > To > Sent by: qui...@li....n > quickfixj-users-b et > ou...@li... cc > ceforge.net > Subject > [Quickfixj-users] SenderSubID in > 04/10/2007 05:21 [SESSION] configuration? > PM > > > Please respond to > quickfixj-users@l > ists.sourceforge. > net > > > > > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > Hey All, > > how can i set the SenderSubID in [SESSION] configuration? > > this doesn't seem to send the sendersubid correctly to my counterparty. > > [SESSION] > BeginString=FIX.4.4 > SenderCompID=Foo > SenderSubID=Bar > TargetCompID=Baz > -- > View this message in context: > http://www.nabble.com/SenderSubID-in--SESSION--configuration--tf3555943.html#a9928945 > > Sent from the QuickFIX/J mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > -- View this message in context: http://www.nabble.com/SenderSubID-in--SESSION--configuration--tf3555943.html#a9940238 Sent from the QuickFIX/J mailing list archive at Nabble.com. |