From 052b59bdd05838aed19d8b7c08ba8f8661172f7f Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 23 May 2008 01:02:04 +0000 Subject: [PATCH] Updated source and target namespace configuration examples. --- .../src/configuration.xml | 64 +++++++++++++------ 1 file changed, 43 insertions(+), 21 deletions(-) diff --git a/spring-integration-reference/src/configuration.xml b/spring-integration-reference/src/configuration.xml index 2d255d16e8..e365dce1d6 100644 --- a/spring-integration-reference/src/configuration.xml +++ b/spring-integration-reference/src/configuration.xml @@ -339,41 +339,63 @@
- Configuring Channel Adapters + Configuring Adapters - The most convenient way to configure Channel Adapters is by using the namespace support. The following examples - demonstrate the namespace-based configuration of several source and target adapters: - + The most convenient way to configure Source and Target adapters is by using the namespace support. The + following examples demonstrate the namespace-based configuration of several sources and targets: + - + - + - + - + - + - + - + - + - + - + ]]> + + In the examples above, notice that simple implementations of the Source + and Target interfaces do not accept any 'channel' references. To + connect such sources and targets to a channel, register them within an endpoint. For example, here + is a File source with an endpoint whose polling will be scheduled to execute every 30 seconds by the + MessageBus. + + + + + +]]> + Likewise, here is an example of a JMS target that is registered with a target-endpoint whose Messages + will be received from the "exampleChannel" that is polled every 500 milliseconds. + + + + + +]]> +