String key = elt.getAttributeValue(
new QName(XMLConfigConstants.NULL_NAMESPACE, "key"));
// this could be a sequence def or a mediator of the main sequence
if (key != null) {
Mediator m = MediatorFactoryFinder.getInstance().getMediator(elt);
rootSequence.addChild(m);
} else {
defineSequence(config, elt);
}
} else if (XMLConfigConstants.ENDPOINT_ELT.equals(elt.getQName())) {
defineEndpoint(config, elt);