Dashboard > QuickFIX/J > ... > Feature Wish List > SAX-like Message Parser
QuickFIX/J Log In | Sign Up   View a printable version of the current page.
SAX-like Message Parser
Added by Steve Bate, last edited by Steve Bate on May 19, 2006  (view change)
Labels: 
(None)

We could refactor the existing message parser to use a SAX-like
callback API. The idea is that this would allow applications to
load FIX message data ''directly'' into their domain objects
rather than building an intermediate FIX message object. This
could result in large performance gains and/or increase in
convenience for certain applications.

I'm thinking something like...

public interface FieldHandler {
  void onMessageStart(String message);

  void onField(String tag, String value);

  // ??? - not sure if group callbacks are needed
  void onGroupStart(String tag, String value);
  void onGroupEnd();

  void onMessageEnd();
}

We'd also need a way for the FIX message formatter to pull
data from any source (instead of just from the current Message
implementation).

This is related to Custom Message Transformation

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.1.5a Build:#411 Mar 16, 2006) - Bug/feature request - Contact Administrators

SourceForge.net Logo