|
From: Christoph J. <chr...@ma...> - 2017-10-31 04:38:24
|
Hi, you can also pass a CLASSPATH resource. I don't know Weblogic but I guess there is a lib-directory somewhere. If you put the dictionary into lib and lib is in the classpath then specifying the filename only should work. Best regards, Chris. On 31/10/17 03:33, Sankar Rao wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > > Hi All, > > Would like to have your inputs on how to load custom data dictionary file, I am sure many of you > already faced & gone thru this hurdle. Please see below is my use case. > > My application is initiator and our counter party uses some custom tags. Till now I managed > without using dataDictionary with UseDataDictionary=N. But recently we need to capture some > repeated groups sent by counter party. Since am not using DataDictionary, am not able to parse > this repeating group with message.getGroups(tag) which retuns List of Groups. > > The reason I switch off DataDictionary is Silly. We are using Weblogic application server and I > can’t provide absolute path to DataDictionary in FIX properties file. > > Now no choice I have to use DataDictionary for parsing some repeating groups from my counter > party. By the way I tried in development environment by using absolute path and I can retrieve > group details with message.getGroups(tag). > > I tried with UseDataDictionary=Y, but it’s loading default DataDictionary based on FIX props and > due to this am not able to logon as my counter party sends some custom tags , so logon itself > rejecting. > > Also tried with UseDataDictionary=N, and then before starting session, > Session.setDataDictionary(file-path) which is showing as Depricated method. > and tried with SessionSettings.setString(SETTING_USE_DATA_DICTIONARY, Y) and > SessionSettings.setString(SETTING_DATA_DICTIONARY, location). > > No luck. If anyone have any alternative approach please suggest. > > As a last option, I want to try by changing default data dictionary in fix jar with the custom > content from counter party. > > Thanks > Sankar > > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Development & Support Direct: +49 241 557080-28 Mailto:Chr...@ma... http://www.macd.com <http://www.macd.com/> ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- MACD GmbH Oppenhoffallee 103 D-52066 Aachen Tel: +49 241 557080-0 | Fax: +49 241 557080-10 Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald ---------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------- take care of the environment - print only if necessary |