简体   繁体   中英

FIXML with QuickFix/J

Anyone using QuickFIX/J to process FIXML messages? As I understand quickfix/j does not support fixml out of the box yet. Any suggestions on how best to approach this?

You can use QuickFIX/J to send and receive FIXML messages using tags 212/213 (XmlData). QuickFIX/J doesn't actually do anything with the XML other than provide a transport. However, you can easily bind the FIXML to Java classes using technologies like JAXB or similar. For example, you could create an abstract implementation of the quickfix.Application interface that would parse the FIXML received in the quickfix.Message and pass it to a callback method. It could also have a custom send method that would format the Java objects to FIXML (again, using something like JAXB), put the XML into tags 212/213 and then submit the message to the QuickFIX/J engine. Your FIXML-based applications would then use this subclass.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM