[Quickfix-developers] Session.sendToTarget problem
Brought to you by:
orenmnero
|
From: Andrew <and...@ho...> - 2003-07-15 21:03:53
|
Does anyone know why this occurs?
org.quickfix.SessionID temp_sessionID = new
org.quickfix.SessionID("FIX.4.2", "OUT_MULTIFIX1", "EXECUTOR");
try{
// This works fine
Session.sendToTarget(msg, temp_sessionID);
// This throws SessionNotFound
Session.sendToTarget(msg, "OUT_MULTIFIX1", "EXECUTOR");
} catch (SessionNotFound e){System.out.println("no session");}
According to session class I should be able to call sendToTarget using
either a message with session object or a message with a pair of
strings.
// Session.class Methods
public static native boolean sendToTarget(Message message) throws
SessionNotFound;
public static native boolean sendToTarget(Message message, SessionID
sessionID) throws SessionNotFound;
public static native boolean sendToTarget(Message message, String
string, String string2) throws SessionNotFound;
Thanks,
Andrew Munn
-----Original Message-----
From: qui...@li...
[mailto:qui...@li...] On Behalf Of
Ramakrishnan
Sent: Monday, July 14, 2003 5:17 AM
To: qui...@li...
Subject: [Quickfix-developers] Flows for a Stock Trader
Hi,
Can i any one please tell me what is the order of MessageFlow for a
Stock
Trading after Logon Message.
We developed a Small FIXClient and a dummy FIX server which uses FIX
Messages.
It could be very helpfull if you could suggest me with the message flow
for
a quote placing and order placing.
Thanks and Regards
Ramakrishnan
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Quickfix-developers mailing list
Qui...@li...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers
|