Example usage for org.springframework.integration.handler AbstractReplyProducingMessageHandler setOutputChannelName

List of usage examples for org.springframework.integration.handler AbstractReplyProducingMessageHandler setOutputChannelName

Introduction

In this page you can find the example usage for org.springframework.integration.handler AbstractReplyProducingMessageHandler setOutputChannelName.

Prototype

@Override
    public void setOutputChannelName(String outputChannelName) 

Source Link

Usage

From source file:org.springframework.integration.config.annotation.AbstractMethodAnnotationPostProcessor.java

protected void setOutputChannelIfPresent(List<Annotation> annotations,
        AbstractReplyProducingMessageHandler handler) {
    String outputChannelName = MessagingAnnotationUtils.resolveAttribute(annotations, "outputChannel",
            String.class);
    if (StringUtils.hasText(outputChannelName)) {
        handler.setOutputChannelName(outputChannelName);
    }//from   ww  w  .  j a  v  a  2  s.c  o m
}