|
From: Steve B. <st...@te...> - 2007-08-23 11:26:05
|
What was the problem with creating a generic Message subclass, something like OrderedFieldMessage, that exposes the protected base class constructor? The previous suggestion about code generation would cause all generated messages to have their body fields ordered according to the data dictionary order. > -----Original Message----- > From: qui...@li... [mailto:quickfixj- > use...@li...] On Behalf Of Bruno Gusmao > Sent: Thursday, August 23, 2007 5:56 AM > To: qui...@li... > Subject: Re: [Quickfixj-users] Field Order > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Any other ideas? Anyone? :-) > > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On Behalf Of Bruno > Gusmao > Sent: Tuesday, August 21, 2007 3:22 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] Field Order > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Hi Steve, > > I checked the documentation and for what I could get, I'll have to create > custom message to get the fields ordered (as it is described in > http://www.quickfixj.org/confluence/display/qfj/Custom+Message+Generation+ > -+ > Packaging). Is that right? > > I think that would be kind of a overkill, because I'm not creating a whole > new message, just trying to get some fields ordered using a already > existing > constructor. Is that any other way? Or am I still not getting it? :-) > > Thanks a lot for your help, > > Bruno > > -----Original Message----- > From: qui...@li... > [mailto:qui...@li...] On Behalf Of Steve > Bate > Sent: Monday, August 20, 2007 4:50 PM > To: qui...@li... > Subject: Re: [Quickfixj-users] Field Order > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Bruno, > > Repeating group fields are ordered according to the data dictionary. > Non-group fields are not ordered by default. However, you can generate the > message classes so that they will also order the non-group fields > according to the dictionary. There are details about how to do this in the > documentation. (I assume you are using the latest version of QFJ.) > > Regards, > > Steve > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > > > Hi Guys, > > > > > > > > I have to interact with a server that requires me to send the fields in > a > > specific order. I see that there is a constructor where I can pass an > > array > > fieldOrder specifying the order, but apparently this constructor is > > protected, and there is no public way to access it. Any suggestions > > (besides > > changing the classes by myself)? > > > > > > > > Cheers, > > > > > > > > Bruno > > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> > > http://get.splunk.com/_______________________________________________ > > Quickfixj-users mailing list > > Qui...@li... > > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users |