question

Upvotes
Accepted
2 1 1 4

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

treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
4.4k 10 6 9

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Thanks....

Click below to post an Idea Post Idea