[QFJ-276] Specify order of signature-related trailer fields Created: 24/Dec/07 Updated: 15/Jan/08 Resolved: 11/Jan/08 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.2.1 |
Fix Version/s: | 1.3.1 |
Type: | Bug | Priority: | Default |
Reporter: | CaiQi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
Using JVM 1.5 on WindowsXP. |
Description |
Field 93 is SignatureLength, Field 89 is Signature. The fields 89 and 93 are in the trailer. 89 is DataField. 93 is the length of 89. When receives a message containing field 89, accptor will extract every field in order. 89 is extracted earlier. Acceptor cannot find the length of it(93) at this time. So exception occurs. A effective method is to change the order of message. Put the field 93 former to the field 89. Thus, the field 93 is extracted earlier than 89. Use this method: , new int[] {CheckSum.FIELD }); |