From 4cfc28764d254c1d25b27967a96bac971babef54 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Tue, 23 Mar 2010 14:35:09 +0000 Subject: [PATCH] Added few details to annotation support section to avoid the confusion explained here:http://forum.springsource.org/showthread.php?t=86595 --- spring-integration-reference/src/configuration.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-integration-reference/src/configuration.xml b/spring-integration-reference/src/configuration.xml index 81a05babd8..e6885b3e8d 100644 --- a/spring-integration-reference/src/configuration.xml +++ b/spring-integration-reference/src/configuration.xml @@ -316,8 +316,8 @@ As you can see, the above method takes 5 arguments where: That provides a pure annotation-driven alternative to the XML configuration. However, it is generally recommended to use XML for the endpoints, since it is easier to keep track of the overall configuration in a single, external location (and besides the namespace-based XML configuration is not very verbose). If you do prefer to provide - channels with the annotations however, you just need to enable a BeanPostProcessor. The following element should - be added: ]]> + channels with the annotations however, you just need to enable a SI Annotations BeanPostProcessor. The following element should + be added: ]]> When configuring the "inputChannel" and "outputChannel" with annotations, the "inputChannel" must be a reference to a SubscribableChannel instance.