INT-738 Added documentation for the delayer endpoint

This commit is contained in:
Mark Fisher
2009-07-18 17:23:03 +00:00
parent cea730322e
commit 59c0fd0e8d
4 changed files with 71 additions and 2 deletions

View File

@@ -53,6 +53,16 @@
@Gateway(requestChannel="orders")
void placeOrder(Order order);
}]]></programlisting>
</para>
<para>
It is also possible to pass values to be interpreted as Message headers on the Message
that is created and sent to the request channel by using the @Header annotation:
<programlisting language="java"><![CDATA[ public interface FileWriter {
@Gateway(requestChannel="filesOut")
void write(byte[] content, @Header(FileHeaders.FILENAME) String filename);
}]]></programlisting>
</para>
</section>