file-split-ftp Move errorChannel to Poller

This commit is contained in:
Gary Russell
2016-10-13 17:18:17 -04:00
parent 42294bf831
commit 7b84810388
8 changed files with 35 additions and 13 deletions

View File

@@ -12,11 +12,16 @@
<int-http:inbound-gateway request-channel="receiveChannel"
path="/receiveGateway"
mapped-request-headers="Content-Type"
supported-methods="POST"/>
<int:channel id="receiveChannel"/>
<int:chain input-channel="receiveChannel">
<int:header-enricher>
<int:header name="contentType" expression="headers['content-type']" />
<int:header name="conent-type" expression="null" overwrite="true" />
</int:header-enricher>
<int:header-filter header-names="content-type" />
<int:service-activator expression="payload + ' from the other side'"/>
</int:chain>