compositeContext.getAttributes().putAll(configuration.getAttributes());
// Add endpoint descriptions from the node configuration if the domain registry is local
if (!domainRegistry.isDistributed()) {
for (Endpoint e : configuration.getEndpointDescriptions()) {
domainRegistry.addEndpoint(e);
}
}
// Activate the composite
compositeActivator.activate(compositeContext, domainComposite);