QualifiedName qualifiedMergepointName
= new QualifiedName(name);
if (qualifiedMergepointName.getNamespace().isRoot())
{
// outlet name is missing
throw new ConfigurationException(
"The isolated mergepoint mapping with the name "
+ name
+ " needs to be qualified with the outlet name");
}
QualifiedName outletName = new QualifiedName(
qualifiedMergepointName.getNamespace().toString());
Outlet outlet = outlets.get(outletName);
if (outlet == null)
{
throw new ConfigurationException(
"No outlet with name "
+ outletName
+ "exists (required by the isolated mergepoint mapping"
+ " with the name "
+ name