From 0b8efc45bc47f505a2f66671a5923dce7f788503 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 21 Oct 2011 16:00:11 -0400 Subject: [PATCH] polishing --- docs/src/reference/docbook/gateway.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/reference/docbook/gateway.xml b/docs/src/reference/docbook/gateway.xml index dda0283f21..a4e41e30c4 100644 --- a/docs/src/reference/docbook/gateway.xml +++ b/docs/src/reference/docbook/gateway.xml @@ -150,19 +150,19 @@ public interface Cafe {
Invoking No-Argument Methods - When invoking methods on a Gateway interface that does not have any arguments, + When invoking methods on a Gateway interface that do not have any arguments, the default behavior is to receive a Message from a PollableChannel. - At times however, you may want to trigger no-arguments methods so that - you can in-fact interact with other components downstream that do not require + At times however, you may want to trigger no-argument methods so that + you can in fact interact with other components downstream that do not require user-provided parameters, e.g. triggering no-argument SQL calls or Stored Procedures. In order to achieve send-and-receive semantics, you must provide a payload. - In order to generate a payloads method parameters on the interface are + In order to generate a payload, method parameters on the interface are not necessary. You can either use the @Payload annotation or the payload-expression attribute in XML on the method sub-element. Below please find a few examples of what the payloads could be: