Hi Danushka, We need to initialize the Dead Letter Channel for the tenant when a tenant is created. But this should be done by only one node in the cluster. We wrote the implementation assuming the tenant created event notification is sent to every node in the cluster. Therefore we checked if the node is the coordinator before initializing the DLC.
Since the tenant create notification is only received to a single node, we can initialize the DLC without checking if coordinator. Thank you. On Fri, Oct 9, 2015 at 7:45 PM, Danushka Fernando <[email protected]> wrote: > I think that's the expected behavior. Tenant Mgt Service (AFAIR) list down > all Tenant Management Listeners registered in the node and loop through > them. What are you trying to do which need to be done in all nodes? > > Thanks & Regards > Danushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Fri, Oct 9, 2015 at 7:28 PM, Asanka Abeyweera <[email protected]> > wrote: > >> Hi, >> >> We are using a TenantMgtListener (MessageBrokerTenantManagementListener >> [1]) to listen to tenant create notification. But when we tested this in a >> two node cluster only the node which created the tenant received the tenant >> create notification. >> >> Is this the expected behavior? >> >> The Carbon version used is 4.4.3. >> >> [1] >> https://github.com/wso2/carbon-business-messaging/blob/master/components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/listeners/MessageBrokerTenantManagementListener.java >> [2] https://wso2.org/jira/browse/MB-1469 >> >> -- >> Asanka Abeyweera >> Software Engineer >> WSO2 Inc. >> >> Phone: +94 712228648 >> Blog: a5anka.github.io >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- Asanka Abeyweera Software Engineer WSO2 Inc. Phone: +94 712228648 Blog: a5anka.github.io
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
