[QFJ-551] Sender comp id doesnt not get reflected while creating a session if given at runtime Created: 04/Aug/10 Updated: 04/Aug/10 |
|
Status: | Open |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Major |
Reporter: | hitesh | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None |
Description |
Desc: Code: public boolean initialize(String senderCompID){ catch (ConfigError e) { System.err.println("Could not find FIX setting file."); e.printStackTrace(); System.exit(-1); } String fixVersion = null; String tgtCompId = null; catch (Exception e) { System.err.println("Could not get [BEGINSTRING] or [TARGETCOMPID] " + "from session id [" + sessID.toString() + "]-[" + e.toString() + "]"); }} String fileStorePath; catch (Exception e) { fileStorePath = null; System.err.println("Could not get [FileStorePath] [" + e.toString() + "]"); } try { } catch (Exception e) { fileLogPath = null; System.err.println("Could not get [FileLogPath] [" + e.toString() + "]"); } MessageStoreFactory storeFactory = new FileStoreFactory(settings); catch (ConfigError e) { System.err.println("FIXClient Could not initiate socket!"); e.printStackTrace(); System.exit(-1); }String fixedString = fixVersion + "" + sndrCompId + "" + tgtCompId; // if i check my settings object i have sender comp id correctly inserted // further code initiator.start(); |