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:
@@ -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"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user