Re: [Quickfix-developers] how to send messages
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-07-21 14:45:43
|
You need to use the SessionQualifier (see configuration settings). =20 You can use the same values as the SenderSubID if you like. The =20 qualifier allows you to differentiate an otherwise identical =20 session. The SenderSubID cannot be used for this purpose because =20 multiple SenderSubIDs can be legally sent on the same session. --oren On Jul 21, 2006, at 9:26 AM, Lidia L=F3pez Cuesta wrote: > QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/=20 > html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi all, > > I have an application that opens 2 SocketInitiator, one for reading =20= > public > information (siReading, I send a MarketDataSnapshotFullRefresh =20 > message) and > another for private information (siOperations, my operations). > > I have 2 instances of my class Application (that inherits from > MessageCracker and implements Application interface). I am using =20 > following > sentence to send messages: > sendToTarget(message,sessionId) > where sessionID is a variable that I fill in onCreate function with =20= > the > sessionID parameter. > > My problem is that messages sent for both socketinitiator are =20 > mixed, I send > a MarketDataRequest in siReading but the message is send throught =20 > the other > session because I found it in the operating log. > > The only difference between both socketinitiators are the =20 > SenderSubID (one > is 351 and the other 352), but this field is not in the sessionId =20 > and I > suppose that this is the problem. I am connecting to the same =20 > market but > with different operator code (sendersubid) > > Anybody knows how to identificate the different sessions with =20 > different > SenderSubId? > > Lidia > > > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys -- and earn =20 > cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |