[Quickfix-developers] config error exception when using SessionQualifier
Brought to you by:
orenmnero
|
From: Michael L. <mly...@gm...> - 2005-05-11 16:48:18
|
Hi,=20
I have a config that works perfectly with mysql logging and mysql
message storing, but when i add a session qualifier to it, i get a
config error exception at the mysqlStore.create() function.
any ideas?
is there something i need to do before
=09
try {
=09=09=09settings =3D new SessionSettings(new
FileInputStream("c:/work/fixconfigs/test.cfg"));
=09=09} catch (FileNotFoundException e) {
=09=09=09// TODO Auto-generated catch block
=09=09=09e.printStackTrace();
=09=09} catch (ConfigError e) {
=09=09=09// TODO Auto-generated catch block
=09=09=09e.printStackTrace();
=09=09}
MessageStoreFactory messageStoreFactory =3D new MySQLStoreFactory(settings)=
;
LogFactory logFactory =3D new MySQLLogFactory(settings);
=20
MessageFactory messageFactory =3D new DefaultMessageFactory();
try {
=09=09=09initiator =3D new SocketInitiator(application, messageStoreFactory=
,
settings,logFactory, messageFactory);
=09=09} catch (ConfigError e1) {
=09=09=09// TODO Auto-generated catch block
=09=09=09System.out.println(e1.getLocalizedMessage());
=09=09=09e1.printStackTrace();
=09=09}
--=20
Michael Lyszczek
NEW EMAIL : ml...@fl...
|