[QFJ-204] Support interpolation during parsing of session settings Created: 03/Jul/07 Updated: 11/Feb/09 Resolved: 07/Jul/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.1.0 |
Fix Version/s: | 1.3.0 |
Type: | Improvement | Priority: | Default |
Reporter: | Parag Mehta | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
All. |
Description |
Interpolation in 1.1.0 does not work with SenderCompID in default section, though it works elsewhere. Also possibly does not work with the other two fields used to generate session id. Often interpolation is required for SenderCompID since this should be different in dev, UAT and Production. Related to http://www.quickfixj.org/jira/browse/QFJ-114 Thanks. |
Comments |
Comment by Steve Bate [ 07/Jul/07 ] |
The problem is actually not directly related to the default section. The settings are parsed and the interpolation previously only occurred when a variable was accessed. This means the session ID fields would not be interpolated before the internal session ID keys were created. This would have occurred whether or not the interpolated ID field was in the default section. I've modified the parser to interpolate variables during parsing. I've also added a new unit test to test the behavior. |