Added AbstractMessageConsumingEndpoint. MessageDispatchers now expect MessageConsumer instances as subscribers, and the MessageEndpoint no longer has a send() method or a getSource() method. All consumer endpoints now use 'inputChannel' as the property (instead of source). The MessageBus is less involved in endpoint activation now, since endpoints that need to poll a channel can create, configure, and schedule their own poller.
This commit is contained in:
@@ -57,7 +57,7 @@ public class WebServiceHandlerParser extends AbstractSingleBeanDefinitionParser
|
||||
}
|
||||
builder.addConstructorArgValue(uri);
|
||||
String inputChannel = element.getAttribute("input-channel");
|
||||
builder.addPropertyReference("source", inputChannel);
|
||||
builder.addPropertyReference("inputChannel", inputChannel);
|
||||
String outputChannel = element.getAttribute("output-channel");
|
||||
if (StringUtils.hasText(outputChannel)) {
|
||||
builder.addPropertyReference("outputChannel", outputChannel);
|
||||
|
||||
Reference in New Issue
Block a user