Example usage for org.springframework.integration.dispatcher BroadcastingDispatcher addHandler

List of usage examples for org.springframework.integration.dispatcher BroadcastingDispatcher addHandler

Introduction

In this page you can find the example usage for org.springframework.integration.dispatcher BroadcastingDispatcher addHandler.

Prototype

@Override
public synchronized boolean addHandler(MessageHandler handler) 

Source Link

Document

Add the handler to the internal Set.

Usage

From source file:com.nayidisha.slowglow.config.SpringMessagingConfig.java

@Bean
public BroadcastingDispatcher broadcastingDispatcher() {
    BroadcastingDispatcher dispatcher = new BroadcastingDispatcher();
    dispatcher.addHandler(loggingHandler());

    return dispatcher;
}