@Override
public Activator createActivator(ServiceDomain domain) {
List<String> activationTypes = getActivationTypes();
String[] types = activationTypes.toArray(new String[activationTypes.size()]);
SwitchYardCamelContext camelContext = (SwitchYardCamelContext) domain
.getProperty(SwitchYardCamelContext.CAMEL_CONTEXT_PROPERTY);
BaseCamelActivator activator = createActivator(camelContext, types);
activator.setServiceDomain(domain);
activator.setEnvironment(getConfig());
return activator;