Hi Azeez, While working on Git based DepSync , we found that * org.apache.axis2.clustering.management.GroupManagementAgent*'s send method requires an *org.apache.axis2.clustering.management.GroupManagementCommand*as the argument, but *org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest* (which is the expected message type in DepSync) seems to be a subclass of * org.apache.axis2.clustering.ClusteringMessage*, therefore we couldn't find any way of sending a SynchronizeRepositoryRequest using GroupManagementAgent.
( Earlier, for testing purposes we created our own version of SynchronizeRepositoryRequest, extending GroupManagementCommand, and for simple message passing it was working, but when the message is further processed in DepSync, it starts failing because the other dependencies which are not satisfied. ) I think if we change the GroupManagementAgent' s send method to accept ClusteringCommand instead of GroupManagementCommand, that would solve the issue. WDYT ? What is the best way to do this ? Here's what we have been trying... SynchronizeRepositoryRequest request = new SynchronizeRepositoryRequest(tenantId,tenantDomain,uuid); GroupManagementAgent groupMgtAgent = clusteringAgent.getGroupManagementAgent(clusterDomain, clusterSubdomain); groupMgtAgent.send(request); *// This is the place where we are having the problem* -- Regards, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev