public class NullChannel extends Object implements PollableChannel
INDEFINITE_TIMEOUT
Constructor and Description |
---|
NullChannel() |
public boolean send(Message<?> message)
send
in interface MessageChannel
public boolean send(Message<?> message, long timeout)
send
in interface MessageChannel
public Message<?> receive()
receive
in interface PollableChannel
public Message<?> receive(long timeout)
receive
in interface PollableChannel