public class MethodInvokingMessageInterceptor extends java.lang.Object implements MessageInterceptor
| Constructor and Description |
|---|
MethodInvokingMessageInterceptor(java.lang.Object instance,
java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
Message<java.lang.String> |
intercept(Message<java.lang.String> message)
Intercept a message and return the same message, a modified version of the incoming message, or null, if
the message should be filtered out and dropped by the
AbstractMessageEndpoint |
public MethodInvokingMessageInterceptor(java.lang.Object instance,
java.lang.reflect.Method method)
@Nullable public Message<java.lang.String> intercept(@Nonnull Message<java.lang.String> message)
MessageInterceptorAbstractMessageEndpointintercept in interface MessageInterceptormessage - the channel-layer message with payload-type beeing a String