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