Package de.otto.synapse.endpoint
Class MethodInvokingMessageInterceptor
java.lang.Object
de.otto.synapse.endpoint.MethodInvokingMessageInterceptor
- All Implemented Interfaces:
MessageInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintercept(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 theAbstractMessageEndpoint
-
Constructor Details
-
MethodInvokingMessageInterceptor
-
-
Method Details
-
intercept
Description copied from interface:MessageInterceptorIntercept 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 theAbstractMessageEndpoint- Specified by:
interceptin interfaceMessageInterceptor- Parameters:
message- the channel-layer message with payload-type beeing a String- Returns:
- intercepted version of the message, or null if the message should be dropped.
-