|
From: Toli K. <to...@ma...> - 2007-10-11 02:19:21
|
There's nothing really simple. You can hand-create the appropriate subclass of Header (ie quickfix.fix44.NoHops, just follow something like quickfix.fix44.Advertisement.NoUnderlyings) but i am not sure what it needs to look like off the top of my head. I tried making some modifications to the message-generation code, and i'd have to spend more time trying to figure out how to fix it to generate those classes. So nothing immediate, until someone spends more time to fix the problem and posts the generated classes to use. It may be easier to just add these fields as a basic group, w/out having to use pre-generated classes. ie use the new Group(NoHops.FIELD, HopCompID.FIELD) constructor and set all the fields yourself. hope this helps. On 10/10/07, th...@co... <th...@co...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Thank you for your quick reply. Is there a temporary workaround? > > On Oct 10, 2007, at 8:51 PM, Toli Kuznets wrote: > > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > I think the problem may be in QFJ code generation. > > > > Seems that only group in message subclasses are generated - and not > > inside the header (or trailer). This is in > > MessageCodeGenerator.generateMessageSubclasses() - only the > > messages/message elements of the FIX file are called. > > > > Steve, it calls the Messages.xls transformer - and it seems that's > > explicitly written to only match on messages or message components, > > not on header/trailer. > > > > So it seems that we may need to file a bug and add more functionality > > to create header groups as well. > > > > > > On 10/10/07, th...@co... <th...@co...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > >> QuickFIX/J Support: http://www.quickfixj.org/support/ > >> I am trying to add a repeating group 'NoHops' to a > >> quickfix.fix44.Message.Header, but it does not seem to be defined as > >> a subclass of the quickfix.Group. I have done this with messages, > >> but never the header. How do I add this repeating group to the > >> message header? > >> > >> --------------------------------------------------------------------- > >> ---- > >> 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 > >> > > > > > > -- > > Toli Kuznets > > http://www.marketcetera.com: Open-Source Trading Platform > > download.run.trade. > > > > ---------------------------------------------------------------------- > > --- > > 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 > -- Toli Kuznets http://www.marketcetera.com: Open-Source Trading Platform download.run.trade. |