[QFJ-175] need help Created: 11/May/07  Updated: 19/May/07  Resolved: 19/May/07

Status: Closed
Project: QuickFIX/J
Component/s: Message Generation
Affects Version/s: None
Fix Version/s: None

Type: Other Priority: Default
Reporter: paritosh pandey Assignee: Steve Bate
Resolution: Fixed Votes: 0
Labels: None


 Description   

Hi All
This is with regards to Steve's article on http://www.quickfixj.org/confluence/display/qfj/Using+Message+Metadata.

Actaully i just want to know one thing.Whenever i pass a message to QuickFix and the message is returned as a field map,the sequence is not the original one as i have sended , rather it is arranged according to the increasing order of tag numbers.Say for eg --in ur article the message which is used contains the tag 38=9..which is a field.It is positioned at the end of body in the message but by using the code given ...it gets printed according to the position of the ascending order of tag number.
Does position doesn't matters in quickFix or is there any code to get the sysout in the same sequence in which the mesage was supplied.
Any info on this will be of great help as i am new to this FIX world.
Waiting for ur response

Thanks and Regards
Paritosh Pandey



 Comments   
Comment by Steve Bate [ 19/May/07 ]

Hello,

The FIX specification only requires ordered fields in repeating groups (and a few header fields). The body fields are unordered. The internal data structures used by QFJ do not preserve the order that the fields were set in the body of the message.

Steve

Generated at Sat Nov 23 11:01:26 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.