this.registryService.getGovernanceSystemRegistry(EventBrokerHolder.getInstance().getTenantId());
String subscriptionsPath = getSubscriptionsPath(resourcePath);
//first if there are subscriptions for this topic add them. else go to the other folders.
if (userRegistry.resourceExists(subscriptionsPath)) {
Collection collection = (Collection) userRegistry.get(subscriptionsPath);
for (String subscriptionPath : collection.getChildren()) {
Resource subscriptionResource = userRegistry.get(subscriptionPath);
Subscription subscription = JavaUtil.getSubscription(subscriptionResource);
subscription.setTopicName(removeResourcePath(resourcePath));