MessageChannel type was ambiguous, since the 'errorChannel' is also present within the context.

This commit is contained in:
Mark Fisher
2008-11-25 22:25:09 +00:00
parent 3b8e7e5b4b
commit db756e2f44
2 changed files with 4 additions and 3 deletions

View File

@@ -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"/>

View File

@@ -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;