mc.getConfigurationContext()).getTenantId();
try {
SuperTenantCarbonContext.startTenantFlow();
SuperTenantCarbonContext.getCurrentContext().setTenantId(tenantID);
SuperTenantCarbonContext.getCurrentContext().getTenantDomain(true);
broker.publish(message, topicValue);
} catch (EventBrokerException e) {
handleException("Error publishing the event to the broker", e, synCtx);
} catch (Exception e) {
log.error("Error in setting tenant information", e);
} finally {