MessageChannel type was ambiguous, since the 'errorChannel' is also present within the context.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
http://www.springframework.org/schema/integration/file/spring-integration-file-1.0.xsd">
|
||||
|
||||
<inbound-channel-adapter id="inputDirPoller"
|
||||
directory="file:${java.io.tmpdir}" filter="filter"
|
||||
directory="file:${java.io.tmpdir}"
|
||||
filter="filter"
|
||||
auto-startup="false">
|
||||
<integration:poller>
|
||||
<integration:interval-trigger interval="5000"/>
|
||||
|
||||
@@ -26,7 +26,7 @@ import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.DirectFieldAccessor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.integration.core.MessageChannel;
|
||||
import org.springframework.integration.channel.SubscribableChannel;
|
||||
import org.springframework.integration.file.CompositeFileListFilter;
|
||||
import org.springframework.integration.file.FileReadingMessageSource;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
@@ -40,7 +40,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
public class FileInboundChannelAdapterParserTests {
|
||||
|
||||
@Autowired(required=true)
|
||||
MessageChannel channel;
|
||||
SubscribableChannel channel;
|
||||
|
||||
@Autowired(required=true)
|
||||
FileReadingMessageSource source;
|
||||
|
||||
Reference in New Issue
Block a user