Hello,
Is there an equivalent to the M4 method of configuring maxMessagesPerTask for a channel or handler? I used to be able to configure a channel using a DispatcherPolicy like this:
<bean id="testChannel" class="org.springframework.integration.channel.Que ueChannel">
<constructor-arg ref="testChannelInMemQueue"/>
<!-- Use a custom dispatcher policy -->
<constructor-arg>
<bean class="org.springframework.integration.channel.Dis patcherPolicy"
p:maxMessagesPerTask="100"
p:rejectionLimit="1000"
p:retryInterval="500"/>
</constructor-arg>
</bean>
Thanks,
-Brian


Reply With Quote