* @param switchyardConfig The SwitchYard configuration.
* @return The ServiceDomain instance.
*/
public ServiceDomain createDomain(QName domainName, SwitchYardModel switchyardConfig) {
TransformerRegistry transformerRegistry = new BaseTransformerRegistry();
ValidatorRegistry validatorRegistry = new BaseValidatorRegistry();
SwitchYardCamelContextImpl camelContext = new SwitchYardCamelContextImpl();
CamelExchangeBus bus = new CamelExchangeBus(camelContext);
ServiceDomainSecurity serviceDomainSecurity = getServiceDomainSecurity(switchyardConfig);