public interface MessageProducer
MessageChannel.| Modifier and Type | Method and Description |
|---|---|
MessageChannel |
getOutputChannel()
Return the the output channel.
|
void |
setOutputChannel(MessageChannel outputChannel)
Specify the
MessageChannel to which produced Messages should be sent. |
default void |
setOutputChannelName(String outputChannel)
Specify the bean name of the
MessageChannel to which produced Messages should be sent. |
void setOutputChannel(MessageChannel outputChannel)
MessageChannel to which produced Messages should be sent.outputChannel - The output channel.default void setOutputChannelName(String outputChannel)
MessageChannel to which produced Messages should be sent.outputChannel - The output channel bean name.@Nullable MessageChannel getOutputChannel()