Babashola,
This is a great suggestion and as you've correctly noticed, we started
to move towards this model with the introduction of the
ors_user.properties fie.
That was just a beginning, and we'll work on moving all the other
relevant configuration variables into an easier-to-use config file,
just like you have.
We'll have a mirror structure of the ors_default.properties that
contains the defaults, and the ors_user.properties file that has
overridden values for each user.
Let me know if you have any questions migrating to the new version of the ORS.
thanks
On Wed, Jul 23, 2008 at 1:15 AM, Babashola King <
[hidden email]> wrote:
> Hi Graham/Toli,
>
> We have now been using Marketcetera OMS (now ORS) for a while now and in
> production. The latest version introduced the concept of
> ors_users.properties for some of the configurable items. We had embarked on
> the process of consolidating all possible configuration items into one
> single user.properties file loaded via spring PropertyPlaceholderConfigurer
> as follows;
>
> <!-- property placeholder post-processor -->
> <bean
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> <property name="location" value="user_config.properties"/>
> </bean>
>
> A sample of the file in question is as follows;
>
> oms.requestQueue=TradeBasket-commands
> oms.replyTopic=TradeBasket-messages
> oms.brokerURL=tcp://server:61616
>
> oms.quickfix.defaultSessionID.sendercompid=XXXX
> oms.quickfix.defaultSessionID.targetcompid=TTT
> oms.quickfix.defaultSessionID.sessionqualifier=TradeBasket
>
> oms.socketConnectHostValue=208.134.161.23
> oms.socketConnectPortValue=8221
>
> quickfix.spring.SessionSettings.HeartBtInt=60
> quickfix.spring.SessionSettings.StartTime=10:30:00
> quickfix.spring.SessionSettings.EndTime=07:00:00
> quickfix.spring.SessionSettings.JdbcURL=jdbc:mysql://dbase/marketcetera
> quickfix.spring.SessionSettings.JdbcUser=readwrite
> quickfix.spring.SessionSettings.JdbcPassword=password
> quickfix.spring.SessionSettings.LogFile=/var/log/fix/filename
>
> Obviously, these will change depending on all newly introduced properties
> per version of the application. As it stands there are so many
> xml/properties files to change. If not set-up correctly the application
> would fail. A single configuration as defined above would simplify the
> configuration and reduced support requests for avid and new users.
>
> I am sure I probably can already do this in the latest version but I have
> just had a look at this version so I can't comment.
>
> Regards
>
> Bob King
> Leo Fund Managers
>
>
>
>
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
>
http://www.star.net.uk> ________________________________________________________________________
>
> _______________________________________________
> _______________________________________________
> Marketcetera Users mailing list
> Marketcetera Documentation:
http://trac.marketcetera.org> To unsubscribe, go to
>
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send
> an email to
[hidden email].
>
>
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation:
http://trac.marketcetera.orgTo unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to
[hidden email].