public void testClusteredInOnly() throws Exception {
final SenderComponent sender = new SenderComponent();
final ReceiverComponent receiver1 = new ReceiverComponent();
final ReceiverComponent receiver2 = new ReceiverComponent();
sender.setResolver(new ServiceNameEndpointResolver(ReceiverComponent.SERVICE));
senderContainer.activateComponent(new ActivationSpec("sender", sender));
senderContainer.activateComponent(new ActivationSpec("receiver", receiver1));
receiverContainer.activateComponent(new ActivationSpec("receiver", receiver2));
Thread.sleep(1000);