}
// TODO: check why the following line is enabled, there is
// a 5 seconds pause when Management stuff is initialized
//container.setCreateMBeanServer(true);
container.init();
container.start();
SenderListener sender = new SenderListener();
ActivationSpec senderActivationSpec = new ActivationSpec("sender", sender);
senderActivationSpec.setFailIfNoDestinationEndpoint(false);
container.activateComponent(senderActivationSpec);