[QFJ-455] NetworkingOptions does not read the settings correctly Created: 08/Jul/09 Updated: 15/Nov/12 Resolved: 04/Apr/10 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Networking |
Affects Version/s: | 1.2.1, 1.3.1, 1.4.0 |
Fix Version/s: | 1.5.0 |
Type: | Bug | Priority: | Default |
Reporter: | Rhys Yarranton | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
1. The NetworkingOptions getBoolean and getInteger methods use the Properties.containsKey method to decided if a setting has been set. These methods are not aware of the default properties (passed through the Properties(Properties) constructor. In the case of initiators, this means anything in the default section of the config will be ignored. 2. For acceptors, the Properties passed to NetworkingOptions are those for the default section. The session-specific settings are not passed and are never used. |
Comments |
Comment by Steve Bate [ 04/Apr/10 ] |
For acceptors, many sessions can share the same acceptor socket so the network settings cannot be specified per session. However, I added the ability for initiator session to inherit default properties. |