Annotation Interface GlobalChannelInterceptor
ChannelInterceptor
components with this
annotation will be applied as global channel interceptors
using the provided patterns
to match channel names.
This annotation can be used at the class
level
for Component
beans
and on methods with Bean
.
This annotation is an analogue of <int:channel-interceptor/>
.
- Since:
- 4.0
- Author:
- Artem Bilan, Meherzad Lahewala
-
Optional Element Summary
-
Element Details
-
patterns
String[] patternsAn array of patterns against which channel names will be matched. Since version 5.0 negative patterns are also supported. A leading '!' negates the pattern match. Default is "*" (all channels).- Returns:
- The pattern.
- See Also:
- Default:
- {"*"}
-
order
int orderThe order of the interceptor. Interceptors with negative order values will be placed before any explicit interceptors on the channel; interceptors with positive order values will be placed after explicit interceptors.- Returns:
- The order.
- Default:
- 0
-