|
From: Mohammad K. L. <kam...@gm...> - 2007-04-16 07:21:03
|
Hi Toli! I have created the User Defined field on the client side like this, *order.setField(new StringField(6600,"Customer Name"));* How do I manage it on the server side,so I need to create a field over there as well and what should be the code for that? Regards, Kamran. * * On 4/12/07, Toli Kuznets <to...@ma...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > Mohammad, > > You can set the custom fields manually like this: > msg.setField(new StringField(7777, "customValue")); > > Or you can use a type other than StringField. > > Keep in mind that if you want your message to validate, you'll need to > modify the FIX4x.xml file appropriately and specify that in your > settings where you specify the data dictionary file. > > Here's an example of a custom field we created: > > http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/core/src/main/java/org/marketcetera/quickfix/customfields/NoMarketDataSnapshots.java > > You can also look through our OrderLoader code to see how it handles > cutsom fields and injects them into messages: > > http://trac.marketcetera.org/trac.fcgi/browser/platform/trunk/orderloader/src/main/java/org/marketcetera/orderloader > > Hope this helps. > > On 4/12/07, Mohammad Kamran Liaqat <kam...@gm...> wrote: > > QuickFIX/J Documentation: > > http://www.quickfixj.org/documentation/ > > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi there!! > > > > I want to send some user-defined data in my fix message,e.g current > customer > > name,how can I create and send a user-defined field with my message? > > > > Thanks in advance, > > Kamran. > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys-and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > 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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > |