protected class AbstractMessageChannel.ChannelInterceptorChain extends Object
Modifier | Constructor and Description |
---|---|
protected |
ChannelInterceptorChain() |
Modifier and Type | Method and Description |
---|---|
Message<?> |
applyPostReceive(Message<?> message,
MessageChannel channel) |
void |
applyPostSend(Message<?> message,
MessageChannel channel,
boolean sent) |
boolean |
applyPreReceive(MessageChannel channel) |
Message<?> |
applyPreSend(Message<?> message,
MessageChannel channel) |
void |
triggerAfterReceiveCompletion(Message<?> message,
MessageChannel channel,
Exception ex) |
void |
triggerAfterSendCompletion(Message<?> message,
MessageChannel channel,
boolean sent,
Exception ex) |
@Nullable public Message<?> applyPreSend(Message<?> message, MessageChannel channel)
public void applyPostSend(Message<?> message, MessageChannel channel, boolean sent)
public void triggerAfterSendCompletion(Message<?> message, MessageChannel channel, boolean sent, @Nullable Exception ex)
public boolean applyPreReceive(MessageChannel channel)
@Nullable public Message<?> applyPostReceive(Message<?> message, MessageChannel channel)
public void triggerAfterReceiveCompletion(@Nullable Message<?> message, MessageChannel channel, @Nullable Exception ex)