receiverContainer.start();
ClusterFlow receiverFlow = (ClusterFlow)receiverContainer.getFlow();
receiver = new ReceiverComponent();
sender = new SenderComponent();
sender.setResolver(new ServiceNameEndpointResolver(ReceiverComponent.SERVICE));
senderContainer.activateComponent(new ActivationSpec("sender", sender));
receiverContainer.activateComponent(new ActivationSpec("receiver", receiver));
assertTrue("Sender cluster complete",senderFlow.waitForClusterToComplete(1, 10000));