From 2ddb984d0b573de791ef5b65e3333a788aa03ea4 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 25 Jun 2010 07:02:26 +0000 Subject: [PATCH] added comment about http method and response type --- src/docbkx/http.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/docbkx/http.xml b/src/docbkx/http.xml index f363351cbb..61919d2697 100644 --- a/src/docbkx/http.xml +++ b/src/docbkx/http.xml @@ -110,12 +110,14 @@ By default the HTTP request will be generated using an instance of Si ]]> - 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. + 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. Most importantly, notice that the 'http-method' and 'expected-response-type' are provided. Those are two of the most commonly configured values. The + default http-method is POST, and the default response type is a byte array (byte[]). Si channel="requests" charset="UTF-8" extract-payload="false" + expected-response-type="java.lang.String" request-factory="someRequestFactory" order="3" auto-startup="false"/>]]>