spring-projects/spring-data-redis — pull request #24 by thomasdarimont (2014-01-19 23:41:48+00:00)
Title: DATAREDIS-242 - Listener Container start() Returns Before Container is R...

...eally Started.

We now wait for the subscription to be present in the connection in case of async connections by periodically checking whether the subscription is available in 100ms intervals. The max time to wait for the async subscription can be configured and is set to 2 seconds by default.

Moved SpinBarrier and TestCondition from test packages as static inner classes into RedisMessageListenerContainer. Included ConnectionUtils from tests into official API.