enableAttribute(endpointParser, AbstractMuleBeanDefinitionParser.ATTRIBUTE_NAME);
addDelegate(endpointParser);
// we handle the address and properties separately, setting the
// properties directly on the endpoint (rather than as part of the address)
MuleChildDefinitionParser addressParser =
new AddressParser(metaOrProtocol, isMeta, addressAttributes, requiredAddressAttributes);
// this handles the exception thrown if a ref is found in the address parser
addHandledException(BlockAttribute.BlockAttributeException.class);
addChildDelegate(addressParser);
MuleChildDefinitionParser propertiesParser =
new PropertiesParser(PROPERTIES, endpointAttributes, requiredAddressAttributes, requiredProperties);
addChildDelegate(propertiesParser);
}