From 8c19462ce4be5a2faca37a6b77ba558fed1cef29 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Fri, 18 Jun 2010 00:01:11 +0000 Subject: [PATCH] IINT-789, updated documentation --- src/docbkx/channel.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/docbkx/channel.xml b/src/docbkx/channel.xml index efc5c0e280..d277f24454 100644 --- a/src/docbkx/channel.xml +++ b/src/docbkx/channel.xml @@ -541,9 +541,9 @@ public Message receive(final PollableChannel channel) { ... }]]>]]> <channel-interceptor> element allows you to define a global interceptor which will be applied on all - channels that match patterns defined via <pattern> attribute. In the above case the global interceptor will be applied on + channels that match patterns defined via pattern attribute. In the above case the global interceptor will be applied on 'foo' channel and all other channels that begin with 'bar' and 'input'. - The <order> attribute allows you to manage the place where this interceptor will be injected. + The order attribute allows you to manage the place where this interceptor will be injected. For example, channel 'inputChannel' could have individual interceptors configured locally (see below):   @@ -559,6 +559,10 @@ public Message receive(final PollableChannel channel) { ... }]]>order attribute. To inject global interceptor BEFORE the existing interceptors use negative value for the order attribute. + + Note that order and pattern attributes are optional. The default value for order + will be 0 and for pattern is '*' +