This commit is contained in:
Mark Fisher
2008-12-15 22:00:39 +00:00
parent e39ffc2380
commit 36ef3d32cb
3 changed files with 26 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ public class ChainParser extends AbstractConsumerEndpointParser {
NodeList children = element.getChildNodes();
for (int i = 0; i < children.getLength(); i++) {
Node child = children.item(i);
if (child.getNodeType() == Node.ELEMENT_NODE) {
if (child.getNodeType() == Node.ELEMENT_NODE && !"poller".equals(child.getLocalName())) {
String childBeanName = this.parseChild((Element) child, parserContext, builder.getBeanDefinition());
handlerList.add(new RuntimeBeanReference(childBeanName));
}