From f35c9b8c3a2b164e4159f82e446e98967fef39b9 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Sun, 31 Jul 2011 23:51:04 -0400 Subject: [PATCH] #INT-1987 - Add a paragraph/section to the beginning of the Reference Manual explaining the usage of namespace prefixes --- docs/src/reference/docbook/index.xml | 2 + docs/src/reference/docbook/preface.xml | 56 ++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 docs/src/reference/docbook/preface.xml diff --git a/docs/src/reference/docbook/index.xml b/docs/src/reference/docbook/index.xml index f44dfb3f7c..10803705cb 100644 --- a/docs/src/reference/docbook/index.xml +++ b/docs/src/reference/docbook/index.xml @@ -64,6 +64,8 @@ + + What's new in Spring Integration 2.0 diff --git a/docs/src/reference/docbook/preface.xml b/docs/src/reference/docbook/preface.xml new file mode 100644 index 0000000000..baec78d6e9 --- /dev/null +++ b/docs/src/reference/docbook/preface.xml @@ -0,0 +1,56 @@ + + + Preface + +
+ Code Conventions + + The Spring Framework 2.0 introduced support for namespaces, which + simplifies the Xml configuration of the application context, and consequently + Spring Integration provides broad namespace support. This reference guide + applies the following conventions for all code examples that use namespace + support: + + + The int namespace prefix will be used for + Spring Integration's core namespace support. Each Spring Integration adapter + type (module) will provide its own namespace, which is configured using the + following convention: + + + int- followed by the name of the module, e.g. + int-twitter, + int-stream, … + + + +… +]]> + + + For a detailed explanation regarding Spring Integration's namespace support + see . + + Please note that the namespace prefix can be freely chosen. You may + even choose not to use any namespace prefixes at all. Therefore, + apply the convention that suits your application needs best. Be aware, + though, that SpringSource Tool Suite™ (STS) uses the same namespace + conventions for Spring Integration as used in this reference guide. + + + +
+