[Quickfix-developers] RE: QFJ: Acceptors and SessionQualifiers
Brought to you by:
orenmnero
|
From: Shepheard, T. (London) <Tob...@ml...> - 2005-10-07 14:03:17
|
Problem solved I think; I found a fix in CVS for SessionID.java, with
the addition of an empty string sessionQualifier to replace null ones.
Line 31:
31:
+ if (sessionQualifier =3D=3D null) {
+ sessionQualifier =3D "";
+ }
-----Original Message-----
From: Shepheard, Toby (London)=20
Sent: 06 October 2005 15:58
To: 'qui...@li...'
Subject: QFJ: Acceptors and SessionQualifiers
NB: This is using QuickFIX/J (1.0.0-beta1) with a minor fix from CVS
for FileLog.java
I came across a problem when running as an Acceptor with the JDBC
message store (JDBCStore.java), and the fact that the SessionQualifier
is null for Acceptors, but is required in the database tables. See
http://www.quickfixengine.org/bugtracker/bug.php?op=3Dshow&bugid=3D115
Am I missing something here or is this a problem with QFJ - and are
SessionQualifiers really needed? From what I can see they look like
they're meant to be optional for initiators, and meaningless for
acceptors, but I'm not at all sure.
As far as I can see I've got two options - either add a session
qualifier to the acceptor config, or alter the DB and JDBCStore code to
not require a session qualifier (which has a rather large impact due to
the primary key changes that would entail). I hope someone can advise!
Many thanks,
Toby
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the =
sender, delete it and do not read, act upon, print, disclose, copy, =
retain or redistribute it. Click here for important additional terms =
relating to this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
|