[hornetq-commits] JBoss hornetq SVN: r8135 - trunk/docs/user-manual/en.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Oct 22 04:37:06 EDT 2009


Author: jmesnil
Date: 2009-10-22 04:37:05 -0400 (Thu, 22 Oct 2009)
New Revision: 8135

Modified:
   trunk/docs/user-manual/en/intercepting-operations.xml
Log:
client-side interceptors documentation

Modified: trunk/docs/user-manual/en/intercepting-operations.xml
===================================================================
--- trunk/docs/user-manual/en/intercepting-operations.xml	2009-10-22 07:45:44 UTC (rev 8134)
+++ trunk/docs/user-manual/en/intercepting-operations.xml	2009-10-22 08:37:05 UTC (rev 8135)
@@ -21,8 +21,8 @@
 <chapter id="intercepting-operations">
    <title>Intercepting Operations</title>
    <para>HornetQ supports <emphasis>interceptors</emphasis> to intercept packets entering
-      and leaving the server. Any supplied interceptors would be called for any packet entering or
-      leaving the server, this allows custom code to be executed, e.g. for auditing packets,
+       the server. Any supplied interceptors would be called for any packet entering 
+        the server, this allows custom code to be executed, e.g. for auditing packets,
       filtering or other reasons. Interceptors can change the packets they intercept.</para>
    <section>
       <title>Implementing The Interceptors</title>
@@ -61,6 +61,14 @@
          to be properly instantiated and called.</para>
    </section>
    <section>
+      <title>Interceptors on the Client Side</title>
+      <para>The interceptors can also be run on the client side to intercept packets
+         <emphasis>sent by the server</emphasis> by adding the interceptor to the <code>ClientSessionFactory</code>
+         with the <code>addInterceptor()</code> method.</para>
+      <para>The interceptors classes (and their dependencies) must be added to the client classpath
+         to be properly instantiated and called from the client side.</para>
+   </section>
+   <section>
       <title>Example</title>
       <para>See <xref linkend="examples.interceptor" /> for an example which
          shows how to use interceptors to add properties to a message on the server.</para>



More information about the hornetq-commits mailing list