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 |
|---|---|
TextMessage |
intercept(TextMessage 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 TextMessage intercept(@Nonnull TextMessage message)
MessageInterceptorAbstractMessageEndpointintercept in interface MessageInterceptormessage - the channel-layer message with payload-type beeing a String