// a 5 seconds pause when Management stuff is initialized
//container.setCreateMBeanServer(true);
container.init();
container.start();
Sender sender = new SenderComponent();
ActivationSpec senderActivationSpec = new ActivationSpec("sender", sender);
senderActivationSpec.setFailIfNoDestinationEndpoint(false);
container.activateComponent(senderActivationSpec);
ReceiverListener receiver1 = new ReceiverListener();
container.activateComponent(createReceiverAS("receiver1", receiver1));
ReceiverListener receiver2 = new ReceiverListener();
container.activateComponent(createReceiverAS("receiver2", receiver2));
sender.sendMessages(1);
Thread.sleep(100);
assertFalse(receiver1.isPropertySetOnExchange());
assertFalse(receiver2.isPropertySetOnExchange());