RFA.NET config refresh

The RFA config files are read to initialize when a subscriber or a provider is instantiated. Is there a way to request that the config values be re read from the file while the application is running ?

We are more interested in enabling/disabling request/response message tracing. Any alternate ideas to achieve this?

Thanks

Raja

Tagged:

Best Answer

  • warat.boonyanit
    Answer ✓

    Hi Raja

    I'm afraid it is not possible to re-read or change the existing config values while the application is running.

    What you could do is you could have two session configs.

    1. Session1 has a connection with message tracing disabled
    2. Session2 has a connection with message tracing enable

    Then the application acquires and uses Session1 if it doesn't want to trace messages. When it wants to trace messages, it can acquire and uses Session2.

    Request/response messages will be traced only for the items that use Session2.

    This workaround won't work for Provider app as you cannot have two session bind the same port.

Answers