@MessageHandler @Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) public @interface MessageHandlerInterceptor
When parameters of an interceptor do not match the message, this will prevent the invocation of this handler, but it will not block processing of any other handlers that do match.
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends Message> |
messageType
Specifies the type of message that can be handled by the member method.
|
Class<?> |
payloadType
Specifies the type of message payload that can be handled by the member method.
|
Copyright © 2010–2024. All rights reserved.