diff --git a/spring-integration-reference/src/filter.xml b/spring-integration-reference/src/filter.xml
index 349c8b0882..c985ec397f 100644
--- a/spring-integration-reference/src/filter.xml
+++ b/spring-integration-reference/src/filter.xml
@@ -54,10 +54,10 @@
fate of the rejected Message. By default (if configured like the example above), the rejected Messages will
be silently dropped. If rejection should instead indicate an error condition, then set the
'throw-exception-on-rejection' flag to true:
- ]]>
If you want the rejected messages to go to a specific channel, provide that reference as the 'discard-channel':
- ]]>
diff --git a/spring-integration-reference/src/gateway.xml b/spring-integration-reference/src/gateway.xml
index 5c3b2d661d..4e99fdc7f9 100644
--- a/spring-integration-reference/src/gateway.xml
+++ b/spring-integration-reference/src/gateway.xml
@@ -42,7 +42,7 @@
Then, the "fooService" can be injected into other beans, and the code that invokes the methods on that
proxied instance of the FooService interface has no awareness of the Spring Integration API. The general
approach is similar to that of Spring Remoting (RMI, HttpInvoker, etc.). See the "Samples" Appendix for
- an example that uses this "gateway" element.
+ an example that uses this "gateway" element (in the Cafe demo).
The reason that the attributes on the 'gateway' element are named 'default-request-channel' and
diff --git a/spring-integration-reference/src/http.xml b/spring-integration-reference/src/http.xml
index f5f0577c89..55a8f56c60 100644
--- a/spring-integration-reference/src/http.xml
+++ b/spring-integration-reference/src/http.xml
@@ -28,9 +28,18 @@
example will create a String message for a POST request where the content type starts with "text", see the Javadoc for
full details.
- Starting with this release MultiPart File support was implemented. If the request has been wrapped as a MultipartHttpServletRequest,
- then the 'content type' can be checked. If it is known, and begins with "text", then the MultipartFile can be copied to a String in the parameter
- map. If the 'content type does not begin with "text", then the MultipartFile can be copied to a byte array within the parameter map instead.
+ Starting with this release MultiPart File support was implemented. If the request has been wrapped as a
+ MultipartHttpServletRequest, then the 'content type' can be checked. If it is known, and
+ begins with "text", then the MultipartFile will be copied to a String in the parameter
+ map. If the content type does not begin with "text", then the MultipartFile will be copied
+ to a byte array within the parameter map instead.
+
+ The HttpInboundEndpoint will locate a MultipartResolver in the context if one exists with the bean name
+ "multipartResolver" (the same name expected by Spring's DispatcherServlet). If it does in fact locate that
+ bean, then the support for MultipartFiles will be enabled on the inbound request mapper. Otherwise, it will
+ fail when trying to map a multipart-file request to a Spring Integration Message. For more on Spring's
+ support for MultipartResolvers, refer to the Spring Reference Manual.
+
In sending a response to the client there are a number of ways to customise the behaviour of the gateway. By default the gateway will
@@ -94,11 +103,11 @@ By default the Http request will be made using an instance of SimpleH
To configure an inbound http channel adapter which is an instance of HttpInboundEndpoint configured
not to expect a response.
- ]]>
+ ]]>
To configure an inbound http gateway which expects a response.
- ]]>
+ ]]>
To configure the outbound gateway you can use the namespace support as well. The following code snippet shows the different configuration options for an outbound Http gateway.