PollableChannel.receive

Receive a message from this channel, blocking until either a message is available or the specified timeout period elapses. @param timeout the timeout in milliseconds or {@link MessageChannel#INDEFINITE_TIMEOUT}. @return the next available {@link Message} or {@code null} if the specified timeout period elapses or the message reception is interrupted

  1. MessageBase receive()
  2. MessageBase receive(long timeout)
    interface PollableChannel
    receive
    (
    long timeout
    )

Meta