[Quickfix-developers] How to create Message from String in Java
Brought to you by:
orenmnero
From: Mike P. <mic...@ya...> - 2008-04-07 18:21:46
|
The Java API allows you to create a quickfix.Message from a string but none of the quickfix.fix4?.Message classes allow that to happen. I need to be able to create a FIX version specific Message from a quickfix.Message. I guess I could iterate over the generic Message objects fields and set them in the fix version specific object but that's not very efficient. What I'm trying to do is take a FIX message string and create a Message object from it and then pass it to a cracker. The C++ API allows the creation of a FIX version specific Message object (FIX4?.Message) from a FIX::Message object but the Java API doesn't have this same functionality. Is there another way to do that? ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com |