String serviceName = PropertiesUtil.toString(properties.get(ReplicationComponentFactory.AGENT_SIMPLE_PROPERTY_SERVICE_NAME), null);
boolean isPassive = PropertiesUtil.toBoolean(properties.get(ReplicationComponentFactory.AGENT_SIMPLE_PROPERTY_IS_PASSIVE), false);
return new SimpleReplicationAgent(name, isPassive, serviceName,
packageImporter, packageExporter, packageExporterStrategy,
queueProvider, queueDistributionStrategy, replicationEventFactory, resourceResolverFactory, triggers);
}