Fix Failing Test

Producer starts before consumer (same phase) with a fast poller.

Add negative phase to the consumer so he starts first.
This commit is contained in:
Gary Russell
2013-11-15 09:27:50 -05:00
parent 836c8e2556
commit fa59b50bdc

View File

@@ -13,7 +13,7 @@
<si:channel id="producerAndConsumerAutoStartupTestChannel"/>
<si:service-activator id="consumerEndpoint" input-channel="producerAndConsumerAutoStartupTestChannel" ref="consumer"/>
<si:service-activator id="consumerEndpoint" input-channel="producerAndConsumerAutoStartupTestChannel" ref="consumer" phase="-100"/>
<bean id="counter" class="org.springframework.integration.endpoint.ProducerAndConsumerAutoStartupTests$Counter"/>