Skip to content

Commit

Permalink
Fixing initTenant
Browse files Browse the repository at this point in the history
  • Loading branch information
switschel committed Mar 5, 2024
1 parent 20651c1 commit 86fc633
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@ public void addSubscriber(String tenant, String ident, AsynchronousDispatcherOut
//
// section 1: initializing tenant client and device client
//
/**
public void initTenantClient() {
// Subscribe on Tenant do get informed when devices get deleted/added
String tenant = subscriptionsService.getTenant();
log.info("Tenant {} - Initializing Operation Subscriptions...", tenant);
subscribeTenantAndConnect(subscriptionsService.getTenant());
//subscribeTenantAndConnect(subscriptionsService.getTenant());
}
**/

public void initDeviceClient() {
String tenant = subscriptionsService.getTenant();
Map<String, String> deviceTokens = deviceTokenPerConnector.get(tenant);
Expand Down

0 comments on commit 86fc633

Please sign in to comment.