List of usage examples for org.springframework.data.redis.listener RedisMessageListenerContainer destroy
public void destroy() throws Exception
From source file:org.springframework.data.redis.listener.SubscriptionConnectionTests.java
@After public void tearDown() throws Exception { for (RedisMessageListenerContainer container : containers) { if (container.isActive()) { container.destroy(); }//from w w w .jav a 2s. c o m } }