My application is made of two main blocks
- Block A: Subscribes to make data and send it to a Front Office system
- Block B: Handles users connections and permissions
I would like Block B to report to DACS each user's RIC consumption, so that a detailed DACS Usage Report can be generated — precisely identifying which users have subscribed to which RICs.
To do so, I'm using the function AuthorizationAgent.checkSubscription():
private void checkSubscription(Handle dacsHandle, String symbol) throws AuthorizationException {
AuthorizationCheckResult authorizationCheckResult =
agent.checkSubscription(dacsHandle,
ALWAYS_PERFORM_USAGE_LOGGING,
NORMAL_REQUEST_LOGGING,
new AuthorizationCheckStatus(),
dacsConfiguration.getServiceName(),
symbol,
null);
if (authorizationCheckResult == ACCESS_ALLOWED) {
LOG.trace("checkSubscription: ACCESS_ALLOWED for dacsHandle={}, symbol={}", dacsHandle, symbol);
} else {
LOG.trace("checkSubscription: ACCESS_DENIED for dacsHandle={}, symbol={}", dacsHandle, symbol);
}
}
Let's take the example of user touser1 that connects to my application and wants to consume BUHUF3MD=. As I get the following log message:
[2026-07-07 08:16:04.601] TRACE Thread-3 com.trmsys.rtmd.core.rtsources.reuters.rfa.RfaFacade checkSubscription: ACCESS_ALLOWED for dacsHandle=com.reuters.rfa.internal.common.HandleImpl@7c520325, symbol=BUHUF3MD=
I suppose that everything is OK
Now when I connect to the DACS console, I chose the report tab:
then Usage Report and By User
I chose Request Type: ALL
I can now click on Find User(s), select touser1 and launch Generate Report
Once done, when going to the report status page, I can find my report but it appears empty:
I tried other kinds of Usage Report but I always obtained empty reports!
My questions are:
- is
AuthorizationAgent.checkSubscription() the right function to use? - is my way of generating report correct?
Additional information:
- my application is written in JAVA, it uses
- Realtime SDK 3.9.2.0 for connecting to TREP
- RFA 8.2.1.L3 for connecting to RFA
Thanks for helping