MessageChannel.send

Send a {@link Message} to this channel. If the message is sent successfully, the method returns {@code true}. If the message cannot be sent due to a non-fatal reason, the method returns {@code false}. The method may also throw a RuntimeException in case of non-recoverable errors. <p>This method may block indefinitely, depending on the implementation. To provide a maximum wait time, use {@link #send(Message, long)}. @param message the message to send @return whether or not the message was sent

  1. bool send(MessageBase message)
    interface MessageChannel
    final
    bool
    send
  2. bool send(MessageBase message, long timeout)

Meta