fixed polling period and renamed test class

This commit is contained in:
Mark Fisher
2011-11-22 14:05:35 -05:00
parent b7aabb70e5
commit ab6f3f1f27
2 changed files with 4 additions and 4 deletions

View File

@@ -41,9 +41,9 @@ import org.springframework.util.CollectionUtils;
/**
* @author Oleg Zhurakousky
*
* @since 2.1
*/
public class ResourcePatternResolverParserTests {
public class ResourceInboundChannelAdapterParserTests {
@Test
public void testDefaultConfig(){

View File

@@ -9,10 +9,10 @@
<int:resource-inbound-channel-adapter id="resourceAdapterDefault" channel="resultChannel"
pattern="file:#{T(java.lang.System).getProperty('java.io.tmpdir') + 'testUsage*'}"
filter="rlFilter" auto-startup="true">
<int:poller fixed-rate="5000"/>
<int:poller fixed-rate="500"/>
</int:resource-inbound-channel-adapter>
<bean id="rlFilter" class="org.springframework.integration.resource.ResourcePatternResolverParserTests.OneItemAndNeverAgainResourceListFilter"/>
<bean id="rlFilter" class="org.springframework.integration.resource.ResourceInboundChannelAdapterParserTests.OneItemAndNeverAgainResourceListFilter"/>
<int:channel id="resultChannel">
<int:queue/>