diff --git a/src/reference/asciidoc/chain.adoc b/src/reference/asciidoc/chain.adoc index 153d241a31..8f804f2f67 100644 --- a/src/reference/asciidoc/chain.adoc +++ b/src/reference/asciidoc/chain.adoc @@ -56,7 +56,7 @@ For this solution it is enough to put at the end of the some - + diff --git a/src/reference/asciidoc/ip.adoc b/src/reference/asciidoc/ip.adoc index 2080328697..fe1d4ee2f9 100644 --- a/src/reference/asciidoc/ip.adoc +++ b/src/reference/asciidoc/ip.adoc @@ -268,11 +268,11 @@ As is noted there, such modifications are possible whether or not SSL is being u [[caching-cf]] ==== TCP Caching Client Connection Factory -As noted above, TCP sockets cam be 'single-use' (one request/response) or shared. +As noted above, TCP sockets can be 'single-use' (one request/response) or shared. Shared sockets do not perform well with outbound gateways, in high-volume environments, because the socket can only process one request/response at a time. To improve performance, users could use collaborating channel adapters instead of gateways, but that requires application-level message correlation. -See <>for more information. +See <> for more information. Spring Integration 2.2 introduced a caching client connection factory, where a pool of shared sockets is used, allowing a gateway to process multiple concurrent requests with a pool of shared connections. diff --git a/src/reference/asciidoc/samples.adoc b/src/reference/asciidoc/samples.adoc index 12f1a8cfaf..2c5f48197c 100644 --- a/src/reference/asciidoc/samples.adoc +++ b/src/reference/asciidoc/samples.adoc @@ -510,17 +510,20 @@ NOTE: In addition to experimenting with the poller's concurrency settings, you c [[samples-xml-messaging]] ==== The XML Messaging Sample -The xml messaging sample in the `org.springframework.integration.samples.xml` illustrates how to use some of the provided components which deal with xml payloads. +The xml messaging sample in `basic/xml` illustrates how to use some of the provided components which deal with xml payloads. The sample uses the idea of processing an order for books represented as xml. +NOTE:This sample shows that the namespace prefix can be whatever you want; while we usually use, `int-xml` for +integration XML components, the sample uses `si-xml`. + First the order is split into a number of messages, each one representing a single order item using the XPath splitter component. [source,xml] ---- - - - + ---- A service activator is then used to pass the message into a stock checker POJO. @@ -540,7 +543,7 @@ In the case where the order item is in stock the message is routed to the wareho Where the order item is not in stock the message is transformed using xslt into a format suitable for sending to the supplier. [source,xml] ---- - ---- diff --git a/src/reference/asciidoc/xml.adoc b/src/reference/asciidoc/xml.adoc index 11fa989342..3f6c37d304 100644 --- a/src/reference/asciidoc/xml.adoc +++ b/src/reference/asciidoc/xml.adoc @@ -220,7 +220,7 @@ The following XPath Expression will match agains the XML document above: [source,xml] ---- - ---- @@ -229,7 +229,7 @@ The following XPath expression using the _myorder_ namespace prefix will match a [source,xml] ---- - ---- @@ -720,7 +720,7 @@ Instead, one or more output channels are determined dynamically. [source,xml] ---- - + ----