Example usage for org.springframework.integration.channel PublishSubscribeChannel send

List of usage examples for org.springframework.integration.channel PublishSubscribeChannel send

Introduction

In this page you can find the example usage for org.springframework.integration.channel PublishSubscribeChannel send.

Prototype

@Override
public boolean send(Message<?> message) 

Source Link

Document

Send a message on this channel.

Usage

From source file:org.fornax.cartridges.sculptor.framework.event.SpringIntegrationEventBusImpl.java

@Override
public boolean publish(String topic, Event event) {
    PublishSubscribeChannel intChannel = getChannel(topic);
    GenericMessage<Object> intMessage = new GenericMessage<Object>(event);
    intChannel.send(intMessage);
    return true;//from w  ww  . j  a va2s . co  m
}