muleContext.start();
Flow test1 = (Flow) muleContext.getRegistry().get("test1");
ClusterizableMessageSourceWrapper messageSource = (ClusterizableMessageSourceWrapper) test1.getMessageSource();
messageSource.initialise();
pollingController.isPrimary=true;
muleContext.fireNotification(new ClusterNodeNotification("primary", ClusterNodeNotification.PRIMARY_CLUSTER_NODE_SELECTED));
LocalMuleClient client = muleContext.getClient();