public abstract class AbstractSingleNodeNamedChannelSink extends AbstractSingleNodeNamedChannelModule<org.springframework.integration.channel.QueueChannel> implements NamedChannelSink
ALL_MEDIA_TYPES, messageBus, messageChannel, sharedChannelName
Modifier | Constructor and Description |
---|---|
protected |
AbstractSingleNodeNamedChannelSink(MessageBus messageBus,
java.lang.String sharedChannelName) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
receive() |
org.springframework.messaging.Message<?> |
receive(int timeout) |
java.lang.Object |
receivePayload() |
java.lang.Object |
receivePayload(int timeout) |
void |
unbind() |
bind
protected AbstractSingleNodeNamedChannelSink(MessageBus messageBus, java.lang.String sharedChannelName)
public org.springframework.messaging.Message<?> receive()
receive
in interface NamedChannelSink
public org.springframework.messaging.Message<?> receive(int timeout)
receive
in interface NamedChannelSink
public java.lang.Object receivePayload()
receivePayload
in interface NamedChannelSink
public java.lang.Object receivePayload(int timeout)
receivePayload
in interface NamedChannelSink
public void unbind()
unbind
in interface NamedChannelModule