[jboss-cvs] JBoss Messaging SVN: r6494 - trunk/examples/jms/interceptor.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 20 08:53:50 EDT 2009


Author: timfox
Date: 2009-04-20 08:53:50 -0400 (Mon, 20 Apr 2009)
New Revision: 6494

Modified:
   trunk/examples/jms/interceptor/readme.html
Log:
tweak to interceptor example

Modified: trunk/examples/jms/interceptor/readme.html
===================================================================
--- trunk/examples/jms/interceptor/readme.html	2009-04-20 12:50:07 UTC (rev 6493)
+++ trunk/examples/jms/interceptor/readme.html	2009-04-20 12:53:50 UTC (rev 6494)
@@ -35,6 +35,10 @@
      When the example is running, the interceptor will print out each events that are passed in the interceptor. And it will add a string property to the message being 
      delivered. You can see that after the message is received, there will be a new string property appears in the received message.</p>
      
+     <p>With our interceptor we always return <code>true</code> from the <code>intercept</code> method. If we were
+     to return <code>false</code> that signifies that no more interceptors are to run or the target
+     is not to be called. Return <code>false</code> to abort processing of the packet.</p>
+     
      <br>
      <h2>Example step-by-step</h2>
      <p><i>To run the example, simply type <code>ant</code> from this directory</i></p>




More information about the jboss-cvs-commits mailing list