Spring Data Redis pub/sub unsubscribe
I'm using Spring Data Redis 1.0.2.RELEASE pub/sub functionality via the RedisMessageListenerContainer Class. This Class handles the Redis connection listening and multi-threaded task dispatching. It provides a way to subscribe to a Redis channel by adding a listener but doesn't provide a way to unsubscribe to a Redis channel.
The underlying SubscriptionTask Class does have methods to unsubscribe to channels but this is a private instance member of RedisMessageListenerContainer and there isn't a clean way to get at it.
What's the best way to unsubscribe to a Redis channel using Spring Data Redis?