New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
2 2 3 6

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an 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 512.0 KiB each and 1.0 MiB total.

Thanks....

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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