Example usage for org.springframework.data.redis.listener RedisMessageListenerContainer destroy

List of usage examples for org.springframework.data.redis.listener RedisMessageListenerContainer destroy

Introduction

In this page you can find the example usage for org.springframework.data.redis.listener RedisMessageListenerContainer destroy.

Prototype

public void destroy() throws Exception 

Source Link

Usage

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
    }
}