Setting inputChannelName instead of source when <poller/> is not provided so that auto-create works (it does not apply with <poller/>).

This commit is contained in:
Mark Fisher
2008-08-05 03:04:21 +00:00
parent de207c9bda
commit d929797867

View File

@@ -99,7 +99,7 @@ public abstract class AbstractHandlerEndpointParser extends AbstractSingleBeanDe
builder.addPropertyReference("source", pollerBeanName);
}
else {
builder.addPropertyReference("source", inputChannel);
builder.addPropertyValue("inputChannelName", inputChannel);
}
Element interceptorsElement = DomUtils.getChildElementByTagName(element, INTERCEPTORS_ELEMENT);
if (interceptorsElement != null) {