+1 Thanks, Ruwan
On Tue, Jul 1, 2008 at 11:54 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote: > I think the correct model to hold the fix data in would be a Map > message, since this is the closest mirror in Java/Synapse to the > native FIX model. > We already discussed doing an efficient implementation of Map inside > Axiom, that only translates the Map into XML if required. > Then we could do the following: > > 1) provide a XPath fn that can look at Map, so you can do CBR without > needing to convert to XML > 2) provide a mediator that transforms into the QFJ XML format (if > anyone uses this?) > 3) provide a mediator that transforms into the official FIXML XML syntax > 4) the Map would auto-translate into a synapse Map XML format if > anyone tried to access it as XML. > > This way we could do routing from FIX to FIX with minimal > transformation. In fact, we could make the QFJ message object > implement the Map interface and then there would be zero > transformation/conversion for FIX->FIX routing, but you could still do > XPath expression content based routing on FIX parameters. > > This all pre-supposes we can write an OMDataSource OMElement based on a > Map. > > Paul > > On Tue, Jul 1, 2008 at 7:16 PM, Asanka Abeysinghe <[EMAIL PROTECTED]> > wrote: > > Hiranya Jayathilaka wrote: > >> > >> Hi, > >> > >> This is the same structure used by QFJ when converting FIX messages into > >> XML using ToXML() method. So we simply used the same structure. See my > >> comments inline. > >> > > got it ,but we are not using message.toXML() and message.InitializeXML() > to > > marshal and un-marshal FIX/XML messages ? > > I have not used QFJ XML functions before, there is toXML(DD) function > that > > takes the Data dictionary, that we should invoke and see the output, > > because DD knows the tag names and datatypes, so might produce a deferent > > output. > > Most interesting thing is FIXML use a deferent structure than the > > message.toXML provides. > > Asanka A. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Paul Fremantle > Co-Founder and CTO, WSO2 > Apache Synapse PMC Chair > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org > [EMAIL PROTECTED] > > "Oxygenating the Web Service Platform", www.wso2.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Ruwan Linton http://wso2.org - "Oxygenating the Web Services Platform" http://ruwansblog.blogspot.com/
