Example usage for org.springframework.integration.redis.inbound RedisInboundChannelAdapter setBeanName

List of usage examples for org.springframework.integration.redis.inbound RedisInboundChannelAdapter setBeanName

Introduction

In this page you can find the example usage for org.springframework.integration.redis.inbound RedisInboundChannelAdapter setBeanName.

Prototype

@Override
    public final void setBeanName(String beanName) 

Source Link

Usage

From source file:org.springframework.integration.x.redis.RedisChannelRegistry.java

@Override
public void tap(String tapModule, final String name, MessageChannel channel) {
    RedisInboundChannelAdapter adapter = new RedisInboundChannelAdapter(
            this.redisTemplate.getConnectionFactory());
    adapter.setTopics("topic." + name);
    adapter.setOutputChannel(channel);//from w  w  w .j a  va 2  s .c o  m
    adapter.setBeanName("tap." + name);
    adapter.setComponentName(tapModule + "." + "tapAdapter");
    adapter.afterPropertiesSet();
    this.lifecycleBeans.add(adapter);
    adapter.start();
}