Re: [Quickfix-developers] Access to configuration setting
Brought to you by:
orenmnero
|
From: <li...@ho...> - 2006-09-13 17:21:14
|
Hi,
I have tried reading a setting using following instruction, but only
parameters in [DEFAULT] section are found, when I tried to read a setting
from section [SESSION] an exception ocurred with message "Configuration
failed: TargetSubID not defined"
Dim sUser As String = qSettings.get().getString("TargetSubID",
False)
>From: Oren Miller <or...@qu...>
>To: Lidix <li...@ho...>
>CC: qui...@li...
>Subject: Re: [Quickfix-developers] Access to configuration setting
>Date: Wed, 13 Sep 2006 12:01:26 -0500
>
> > QuickFIX Documentation:
>http://www.quickfixengine.org/quickfix/doc/html/index.html
> > QuickFIX Support: http://www.quickfixengine.org/services.html
> >
> > Hi,
> >
> > I would like to consult some settings from configuration file, and I
>don't
> > know if I can ask for these settings after they are read from disk to
>the
> > SessionSettins or to SocketInitiator.
>
>You can consult the SessionSettings object at any time. It is read once
>however so it will not reflect changes to the file. You can however
>create a new SessionSettings object which points to the file and it will
>reparse the file for you.
>
>--oren
|