Author: jstrachan
Date: Thu Jun  8 12:11:22 2006
New Revision: 412836

URL: http://svn.apache.org/viewvc?rev=412836&view=rev
Log:
Latest export from confluence

Added:
    incubator/activemq/site/logging-interceptor.html
Modified:
    incubator/activemq/site/connection-configuration-uri.html
    incubator/activemq/site/features.html
    incubator/activemq/site/how-does-the-website-work.html
    incubator/activemq/site/interceptors.html
    incubator/activemq/site/security.html

Modified: incubator/activemq/site/connection-configuration-uri.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/connection-configuration-uri.html?rev=412836&r1=412835&r2=412836&view=diff
==============================================================================
--- incubator/activemq/site/connection-configuration-uri.html (original)
+++ incubator/activemq/site/connection-configuration-uri.html Thu Jun  8 
12:11:22 2006
@@ -249,7 +249,6 @@
 <H4><A name="ConnectionConfigurationURI-Example"></A>Example</H4>
 
 <P>You set the property called jms.$PROPERTY on a regular connection URI such 
as when enabling <A href="async-sends.html" title="Async Sends">Async 
Sends</A>. e.g.</P>
-
 <DIV class="code"><DIV class="codeContent">
 <PRE class="code-java">tcp:<SPAN 
class="code-comment">//localhost:61616?jms.useAsync=<SPAN 
class="code-keyword">true</SPAN></SPAN></PRE>
 </DIV></DIV>
@@ -257,17 +256,16 @@
 <H5><A name="ConnectionConfigurationURI-ConnectionOptions"></A>Connection 
Options</H5>
 
 <P>The following options should be prefixed with <B>jms.</B> when used on a 
URI when connecting to a broker.</P>
-
 <TABLE class="confluenceTable"><TBODY>
 <TR>
-<TH class="confluenceTh">Option Name</TH>
-<TH class="confluenceTh">Default Value</TH>
-<TH class="confluenceTh">Description</TH>
+<TH class="confluenceTh"> Option Name </TH>
+<TH class="confluenceTh"> Default Value </TH>
+<TH class="confluenceTh"> Description </TH>
 </TR>
 <TR>
 <TD class="confluenceTd"> alwaysSessionAsync </TD>
 <TD class="confluenceTd"> true </TD>
-<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> If this flag is set then a seperate thread is not 
used for dispatching messages for each Session in the Connection. However, a 
separate thread is always used if there is more than one session, or the 
session isn&apos;t in auto acknowledge or dups ok mode </TD>
 </TR>
 <TR>
 <TD class="confluenceTd"> clientID </TD>
@@ -295,11 +293,6 @@
 <TD class="confluenceTd"> When an object is set on an ObjectMessage, the JMS 
spec requires the object to be serialized by that set method.  Enabling this 
flag causes the object to not get serialized.  The object may subsequently get 
serialized if the message needs to be sent over a socket or stored to disk. 
</TD>
 </TR>
 <TR>
-<TD class="confluenceTd"> onSendPrepareMessageBody </TD>
-<TD class="confluenceTd"> true </TD>
-<TD class="confluenceTd">&nbsp;</TD>
-</TR>
-<TR>
 <TD class="confluenceTd"> optimizeAcknowledge </TD>
 <TD class="confluenceTd"> true </TD>
 <TD class="confluenceTd"> Enables an optimised acknowledgement mode where 
messages are acknowledged in batches rather than individually </TD>
@@ -307,7 +300,7 @@
 <TR>
 <TD class="confluenceTd"> optimizedMessageDispatch </TD>
 <TD class="confluenceTd"> true </TD>
-<TD class="confluenceTd">&nbsp;</TD>
+<TD class="confluenceTd"> If this flag is set then an larger prefetch limit is 
used - only applicable for durable topic subscribers <BR clear="all"> </TD>
 </TR>
 <TR>
 <TD class="confluenceTd"> useAsyncSend </TD>
@@ -322,7 +315,7 @@
 <TR>
 <TD class="confluenceTd"> useRetroactiveConsumer </TD>
 <TD class="confluenceTd"> false </TD>
-<TD class="confluenceTd"> Sets whether or not retroactive consumers are 
enabled. Retroactive consumers allow non-durable topic subscribers to receive 
old messages that were published before the  non-durable subscriber 
started.</TD>
+<TD class="confluenceTd"> Sets whether or not retroactive consumers are 
enabled. Retroactive consumers allow non-durable topic subscribers to receive 
old messages that were published before the  non-durable subscriber started. 
</TD>
 </TR>
 </TBODY></TABLE></DIV>
           
@@ -334,8 +327,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=chirino";>Hiram
 Chirino</A> on Jun 08, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=8624&originalId=8641";>view
 change</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=rajdavies";>Rob
 Davies</A> on Jun 08, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=8624&originalId=8649";>view
 change</A>)
               
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=8624";>edit 
page</A>)
     </DIV>

Modified: incubator/activemq/site/features.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/features.html?rev=412836&r1=412835&r2=412836&view=diff
==============================================================================
--- incubator/activemq/site/features.html (original)
+++ incubator/activemq/site/features.html Thu Jun  8 12:11:22 2006
@@ -242,7 +242,7 @@
 <!--          
             <div class="pagetitle">Features</div>
 -->
-            <DIV class="wiki-content"><UL><LI><A 
href="activemq-performance-module-users-manual.html" title="ActiveMQ 
Performance Module Users Manual">ActiveMQ Performance Module Users 
Manual</A><UL><LI><A href="sample-report.html" title="sample report">sample 
report</A></LI></UL></LI><LI><A href="advisory-message.html" title="Advisory 
Message">Advisory Message</A></LI><LI><A href="async-sends.html" title="Async 
Sends">Async Sends</A></LI><LI><A href="axis-support.html" title="Axis 
Support">Axis Support</A></LI><LI><A href="clustering.html" 
title="Clustering">Clustering</A></LI><LI><A href="composite-destinations.html" 
title="Composite Destinations">Composite Destinations</A></LI><LI><A 
href="consumer-dispatch-async.html" title="Consumer Dispatch Async">Consumer 
Dispatch Async</A></LI><LI><A href="consumer-priority.html" title="Consumer 
Priority">Consumer Priority</A></LI><LI><A href="destination-options.html" 
title="Destination Options">Destination Options</A></LI><LI><A hr
 ef="discovery.html" title="Discovery">Discovery</A></LI><LI><A 
href="exclusive-consumer.html" title="Exclusive Consumer">Exclusive 
Consumer</A></LI><LI><A href="interceptors.html" 
title="Interceptors">Interceptors</A></LI><LI><A href="jdbc-support.html" 
title="JDBC Support">JDBC Support</A></LI><LI><A href="jms-streams.html" 
title="JMS Streams">JMS Streams</A></LI><LI><A href="kaha-persistence.html" 
title="Kaha Persistence">Kaha Persistence</A></LI><LI><A 
href="masterslave.html" title="MasterSlave">MasterSlave</A></LI><LI><A 
href="message-groups.html" title="Message Groups">Message Groups</A></LI><LI><A 
href="networks-of-brokers.html" title="Networks of Brokers">Networks of 
Brokers</A><UL><LI><A href="activemq-3-networks-of-brokers.html" 
title="ActiveMQ 3 Networks of Brokers">ActiveMQ 3 Networks of 
Brokers</A></LI></UL></LI><LI><A href="optimized-acknowledgement.html" 
title="Optimized Acknowledgement">Optimized Acknowledgement</A></LI><LI><A 
href="per-destination-policies.ht
 ml" title="Per Destination Policies">Per Destination Policies</A></LI><LI><A 
href="persistence.html" title="Persistence">Persistence</A></LI><LI><A 
href="point-to-point-with-multiple-consumers.html" title="Point to Point with 
multiple Consumers">Point to Point with multiple Consumers</A></LI><LI><A 
href="replicated-message-store.html" title="Replicated Message 
Store">Replicated Message Store</A></LI><LI><A href="retroactive-consumer.html" 
title="Retroactive Consumer">Retroactive Consumer</A></LI><LI><A 
href="security.html" title="Security">Security</A></LI><LI><A 
href="slow-consumer-handling.html" title="Slow Consumer Handling">Slow Consumer 
Handling</A></LI><LI><A href="stp.html" title="STP">STP</A></LI><LI><A 
href="subscription-recovery-policy.html" title="Subscription Recovery 
Policy">Subscription Recovery Policy</A></LI><LI><A 
href="the-proxy-connector.html" title="The Proxy Connector">The Proxy 
Connector</A></LI><LI><A href="total-ordering.html" title="Total Ordering">T
 otal Ordering</A></LI><LI><A href="unix-service.html" title="Unix 
Service">Unix Service</A></LI><LI><A href="visualisation.html" 
title="Visualisation">Visualisation</A><UL><LI><A 
href="visualisation-wish-list.html" title="Visualisation Wish 
List">Visualisation Wish List</A></LI></UL></LI><LI><A href="wildcard.html" 
title="Wildcard">Wildcard</A></LI><LI><A href="ws-notification.html" title="WS 
Notification">WS Notification</A></LI></UL> </DIV>
+            <DIV class="wiki-content"><UL><LI><A 
href="activemq-performance-module-users-manual.html" title="ActiveMQ 
Performance Module Users Manual">ActiveMQ Performance Module Users 
Manual</A><UL><LI><A href="sample-report.html" title="sample report">sample 
report</A></LI></UL></LI><LI><A href="advisory-message.html" title="Advisory 
Message">Advisory Message</A></LI><LI><A href="async-sends.html" title="Async 
Sends">Async Sends</A></LI><LI><A href="axis-support.html" title="Axis 
Support">Axis Support</A></LI><LI><A href="clustering.html" 
title="Clustering">Clustering</A></LI><LI><A href="composite-destinations.html" 
title="Composite Destinations">Composite Destinations</A></LI><LI><A 
href="consumer-dispatch-async.html" title="Consumer Dispatch Async">Consumer 
Dispatch Async</A></LI><LI><A href="consumer-priority.html" title="Consumer 
Priority">Consumer Priority</A></LI><LI><A href="destination-options.html" 
title="Destination Options">Destination Options</A></LI><LI><A hr
 ef="discovery.html" title="Discovery">Discovery</A></LI><LI><A 
href="exclusive-consumer.html" title="Exclusive Consumer">Exclusive 
Consumer</A></LI><LI><A href="interceptors.html" 
title="Interceptors">Interceptors</A><UL><LI><A href="logging-interceptor.html" 
title="Logging Interceptor">Logging Interceptor</A></LI></UL></LI><LI><A 
href="jdbc-support.html" title="JDBC Support">JDBC Support</A></LI><LI><A 
href="jms-streams.html" title="JMS Streams">JMS Streams</A></LI><LI><A 
href="kaha-persistence.html" title="Kaha Persistence">Kaha 
Persistence</A></LI><LI><A href="masterslave.html" 
title="MasterSlave">MasterSlave</A></LI><LI><A href="message-groups.html" 
title="Message Groups">Message Groups</A></LI><LI><A 
href="networks-of-brokers.html" title="Networks of Brokers">Networks of 
Brokers</A><UL><LI><A href="activemq-3-networks-of-brokers.html" 
title="ActiveMQ 3 Networks of Brokers">ActiveMQ 3 Networks of 
Brokers</A></LI></UL></LI><LI><A href="optimized-acknowledgement.html" titl
 e="Optimized Acknowledgement">Optimized Acknowledgement</A></LI><LI><A 
href="per-destination-policies.html" title="Per Destination Policies">Per 
Destination Policies</A></LI><LI><A href="persistence.html" 
title="Persistence">Persistence</A></LI><LI><A 
href="point-to-point-with-multiple-consumers.html" title="Point to Point with 
multiple Consumers">Point to Point with multiple Consumers</A></LI><LI><A 
href="replicated-message-store.html" title="Replicated Message 
Store">Replicated Message Store</A></LI><LI><A href="retroactive-consumer.html" 
title="Retroactive Consumer">Retroactive Consumer</A></LI><LI><A 
href="security.html" title="Security">Security</A></LI><LI><A 
href="slow-consumer-handling.html" title="Slow Consumer Handling">Slow Consumer 
Handling</A></LI><LI><A href="stp.html" title="STP">STP</A></LI><LI><A 
href="subscription-recovery-policy.html" title="Subscription Recovery 
Policy">Subscription Recovery Policy</A></LI><LI><A 
href="the-proxy-connector.html" title="The
  Proxy Connector">The Proxy Connector</A></LI><LI><A 
href="total-ordering.html" title="Total Ordering">Total Ordering</A></LI><LI><A 
href="unix-service.html" title="Unix Service">Unix Service</A></LI><LI><A 
href="visualisation.html" title="Visualisation">Visualisation</A><UL><LI><A 
href="visualisation-wish-list.html" title="Visualisation Wish 
List">Visualisation Wish List</A></LI></UL></LI><LI><A href="wildcard.html" 
title="Wildcard">Wildcard</A></LI><LI><A href="ws-notification.html" title="WS 
Notification">WS Notification</A></LI></UL> </DIV>
           
         <!--
           <div class="tabletitle">
@@ -253,16 +253,19 @@
               <a href="javascript:hideChildren()">Hide Children</a></span>
           </div>
           <div class="greybox" id="children" style="display: none;">
-                                      <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+Performance+Module+Users+Manual";
 title="ActiveMQ Performance Module Users Manual">ActiveMQ Performance Module 
Users Manual</a>
+                                      <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Interceptors"; 
title="Interceptors">Interceptors</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
-                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Persistence"; 
title="Persistence">Persistence</a>
+                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Security"; 
title="Security">Security</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
-                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Unix+Service"; title="Unix 
Service">Unix Service</a>
+                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/ActiveMQ+Performance+Module+Users+Manual";
 title="ActiveMQ Performance Module Users Manual">ActiveMQ Performance Module 
Users Manual</a>
+              <span class="smalltext">(ActiveMQ)</span>
+              <br>
+                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Persistence"; 
title="Persistence">Persistence</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
-                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Interceptors"; 
title="Interceptors">Interceptors</a>
+                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Unix+Service"; title="Unix 
Service">Unix Service</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
                           <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/JDBC+Support"; title="JDBC 
Support">JDBC Support</a>
@@ -272,9 +275,6 @@
               <span class="smalltext">(ActiveMQ)</span>
               <br>
                           <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/MasterSlave"; 
title="MasterSlave">MasterSlave</a>
-              <span class="smalltext">(ActiveMQ)</span>
-              <br>
-                          <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Security"; 
title="Security">Security</a>
               <span class="smalltext">(ActiveMQ)</span>
               <br>
                           <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Visualisation"; 
title="Visualisation">Visualisation</a>

Modified: incubator/activemq/site/how-does-the-website-work.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/how-does-the-website-work.html?rev=412836&r1=412835&r2=412836&view=diff
==============================================================================
--- incubator/activemq/site/how-does-the-website-work.html (original)
+++ incubator/activemq/site/how-does-the-website-work.html Thu Jun  8 12:11:22 
2006
@@ -245,9 +245,11 @@
             <DIV class="wiki-content"><P>This website is actually rendered 
from the Wiki contents that you can <A href="how-do-i-edit-the-website.html" 
title="How do I edit the website">edit</A>.  <BR>
 When viewing a page on the static HTML website you can click on the 
<B>edit</B> link (bottom right of the page) and you can edit the page. </P>
 
-<P>Other useful <A href="site.html" title="Site">links</A> are</P>
+<P>Other useful <A href="site.html" title="Site">Site links</A> are</P>
 
-<UL><LI><A href="banner.html" title="Banner">Banner</A></LI><LI><A 
href="navigation.html" title="Navigation">Navigation</A></LI><LI><A 
href="quicklinks.html" title="QuickLinks">QuickLinks</A></LI><LI><A 
href="siteindex.html" title="SiteIndex">SiteIndex</A></LI><LI><A 
href="sitemap.html" title="SiteMap">SiteMap</A></LI></UL></DIV>
+<UL><LI><A href="banner.html" title="Banner">Banner</A></LI><LI><A 
href="navigation.html" title="Navigation">Navigation</A></LI><LI><A 
href="quicklinks.html" title="QuickLinks">QuickLinks</A></LI><LI><A 
href="siteindex.html" title="SiteIndex">SiteIndex</A></LI><LI><A 
href="sitemap.html" title="SiteMap">SiteMap</A></LI></UL>
+
+<P>Note that it takes a little while to update the Apache site at <SPAN 
class="nobr"><A href="http://incubator.apache.org/activemq/"; title="Visit page 
outside Confluence" 
rel="nofollow">http://incubator.apache.org/activemq/<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. 
Though if you are working on documentation and want to see how it really looks, 
the <SPAN class="nobr"><A href="http://activemq.org/"; title="Visit page outside 
Confluence" rel="nofollow">http://activemq.org/<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> site is updated 
immediately.</P></DIV>
           
                   </DIV>
         </TD>
@@ -257,8 +259,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on May 15, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=147&originalId=5773";>view
 change</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on Jun 08, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=147&originalId=8650";>view
 change</A>)
               
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=147";>edit 
page</A>)
     </DIV>

Modified: incubator/activemq/site/interceptors.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/interceptors.html?rev=412836&r1=412835&r2=412836&view=diff
==============================================================================
--- incubator/activemq/site/interceptors.html (original)
+++ incubator/activemq/site/interceptors.html Thu Jun  8 12:11:22 2006
@@ -246,14 +246,31 @@
 <P>ActiveMQ 4.x has a sophisticated <EM>interceptor stack</EM> so that you can 
attach whatever functionality you require into the broker in an easy way 
without complicating all of the other broker code. This has really helped us 
keep the code clean and modular while offering powerful extension points.</P>
 
 <P>For an example of the kinds of things you can do with interceptors see the 
following pages</P>
+
 <UL>
+       <LI><A href="logging-interceptor.html" title="Logging 
Interceptor">Logging Interceptor</A></LI>
        <LI><A href="security.html" title="Security">Security</A></LI>
 </UL>
 
 
 <H3><A name="Interceptors-Howpluginswork"></A>How plugins work</H3>
+
 <P>A plugin is an instance of the interface <SPAN class="nobr"><A 
href="http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/BrokerPlugin.html";
 title="Visit page outside Confluence" rel="nofollow">BrokerPlugin<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
which allows a plugin to add itself into the broker interceptor chain, 
typically using hte <SPAN class="nobr"><A 
href="http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/BrokerFilter.html";
 title="Visit page outside Confluence" rel="nofollow">BrokerFilter<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> as a 
base class to allow only certain operations to be customized.</P></DIV>
           
+        <!--
+          <div class="tabletitle">
+            Children
+            <span class="smalltext" id="show" style="display: inline;">
+              <a href="javascript:showChildren()">Show Children</a></span>
+            <span class="smalltext" id="hide" style="display: none;">
+              <a href="javascript:hideChildren()">Hide Children</a></span>
+          </div>
+          <div class="greybox" id="children" style="display: none;">
+                                      <a 
href="http://goopen.org/confluence/display/ACTIVEMQ/Logging+Interceptor"; 
title="Logging Interceptor">Logging Interceptor</a>
+              <span class="smalltext">(ActiveMQ)</span>
+              <br>
+                      </div>
+-->
                   </DIV>
         </TD>
       </TR>
@@ -262,8 +279,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on May 12, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=149&originalId=5484";>view
 change</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on Jun 08, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=149&originalId=8646";>view
 change</A>)
               
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=149";>edit 
page</A>)
     </DIV>

Added: incubator/activemq/site/logging-interceptor.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/logging-interceptor.html?rev=412836&view=auto
==============================================================================
--- incubator/activemq/site/logging-interceptor.html (added)
+++ incubator/activemq/site/logging-interceptor.html Thu Jun  8 12:11:22 2006
@@ -0,0 +1,285 @@
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<HTML>
+  <HEAD>
+<!--
+    Pier's plugin always overwrites the stylesheet so lets explicitly use 
another one
+    <link type="text/css" rel="stylesheet" 
href="autoexport:///ACTIVEMQ/resources/space.css">
+-->
+    <LINK type="text/css" rel="stylesheet" href="resources/site.css">
+    <SCRIPT src="resources/space.js" type="text/javascript"></SCRIPT>
+    <TITLE>
+Logging Interceptor
+    </TITLE>
+  <META http-equiv="Content-Type" content="text/html;charset=UTF-8"></HEAD>
+  <BODY onload="init()">
+
+    <!-- Banner -->
+    <DIV id="site-banner">
+
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" class="topbardiv" nowrap="">
+            <IMG border="0" 
src="http://incubator.apache.org/activemq/images/logo.gif";>
+          </TD>
+          <TD align="right" nowrap="">
+            <IMG border="0" 
src="http://incubator.apache.org/images/apache-incubator-logo.png";>
+          </TD>
+        </TR> 
+      </TABLE>
+
+    </DIV>
+
+    <!-- Bread crumbs and Quick Links -->
+    <DIV id="site-navbar">
+      <TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
+        <TR>
+          <TD align="left" valign="middle" nowrap="">
+            <DIV id="site-breadcrumbs">
+<A href="home.html" title="ActiveMQ">ActiveMQ</A>&nbsp;&gt;&nbsp;<A 
href="home.html" title="Home">Home</A>&nbsp;&gt;&nbsp;<A href="features.html" 
title="Features">Features</A>&nbsp;&gt;&nbsp;<A href="interceptors.html" 
title="Interceptors">Interceptors</A>&nbsp;&gt;&nbsp;<A href="" title="Logging 
Interceptor">Logging Interceptor</A>
+            </DIV>
+          </TD>
+          <TD align="right" valign="middle" nowrap="">
+            <DIV id="site-quicklinks">
+<P><A href="download.html" title="Download">Download</A> &#124; <SPAN 
class="nobr"><A 
href="http://incubator.apache.org/activemq/maven/activemq-core/apidocs/"; 
title="Visit page outside Confluence" rel="nofollow">JavaDocs<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> <A 
href="javadocs.html" title="JavaDocs">More...</A> &#124; <A href="source.html" 
title="Source">Source</A> &#124; <SPAN class="nobr"><A href="quicklinks.html" 
title="Visit page outside Confluence" rel="nofollow">Wiki<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
&#124;<SPAN class="nobr"><A href="irc://irc.codehaus.org/activemq" title="Visit 
page outside Confluence" rel="nofollow">IRC<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0
 " width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> &#124; <SPAN 
class="nobr"><A href="http://servlet.uwyn.com/drone/log/hausbot/activemq"; 
title="Visit page outside Confluence" rel="nofollow">IRC Log<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
&#124; <A href="mailing-lists.html" title="Mailing Lists">Mailing Lists</A> 
&#124; <A href="discussion-forums.html" title="Discussion Forums">Discussion 
Forums</A> &#124; <A href="support.html" title="Support">Support</A></P>
+            </DIV>
+          </TD>
+        </TR> 
+      </TABLE>
+    </DIV>
+
+<!-- Integrate google search later.
+          <form name="search" action="http://www.google.com/search"; 
method="get">
+            <input type="hidden" name="ie" value="UTF- 8" />
+            <input type="hidden" name="oe" value="UTF- 8" />
+            <input type="hidden" name="domains" value="" />
+            <input type="hidden" name="sitesearch" value="" />
+            <input type="text" name="q" maxlength="255" value="" />        
+            <input type="submit" name="btnG" value="Google Search" />
+          </form>
+-->
+
+      <DIV id="site-content">
+        <TABLE>
+        <TR>
+        <TD valign="top">
+          <DIV id="site-navigation">
+<H3><A name="Navigation-Overview"></A><A href="overview.html" 
title="Overview">Overview</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="home.html" title="Home">Home</A></LI>
+       <LI><A href="news.html" title="News">News</A></LI>
+       <LI><A href="changes-in-40.html" title="Changes in 4.0">New in 
4.0</A></LI>
+       <LI><A href="faq.html" title="FAQ">FAQ</A></LI>
+       <LI><A href="site.html" title="Site">Site</A></LI>
+       <LI><A href="articles.html" title="Articles">Articles</A></LI>
+       <LI><A href="download.html" title="Download">Download</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Community"></A><A href="community.html" 
title="Community">Community</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="discussion-forums.html" title="Discussion 
Forums">Discussion Forums</A></LI>
+       <LI><A href="mailing-lists.html" title="Mailing Lists">Mailing 
Lists</A></LI>
+       <LI><SPAN class="nobr"><A 
href="http://gmane.org/find.php?list=activemq"; title="Visit page outside 
Confluence" rel="nofollow">News Reader<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="navigation.html" title="Visit page 
outside Confluence" rel="nofollow">Wiki<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><A href="projects-using-activemq.html" title="Projects Using 
ActiveMQ">Projects Using ActiveMQ</A></LI>
+       <LI><A href="users.html" title="Users">Users</A></LI>
+       <LI><A href="contributing.html" 
title="Contributing">Contributing</A></LI>
+       <LI><A href="team.html" title="Team">Team</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Support"></A><A href="support.html" 
title="Support">Support</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><SPAN class="nobr"><A 
href="http://issues.apache.org/activemq/browse/AMQ"; title="Visit page outside 
Confluence" rel="nofollow">Issues<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A 
href="http://issues.apache.org/activemq/browse/AMQ?report=com.atlassian.jira.plugin.system.project:roadmap-panel";
 title="Visit page outside Confluence" rel="nofollow">Roadmap<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A 
href="http://issues.apache.org/activemq/browse/AMQ?report=com.atlassian.jira.plugin.system.project:changelog-panel";
 title="Visit page outside Confluence" rel="nofollow">Change log<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-UsingActiveMQ"></A><A href="using-activemq.html" 
title="Using ActiveMQ">Using ActiveMQ</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="getting-started.html" title="Getting Started">Getting 
Started</A></LI>
+       <LI><A href="initial-configuration.html" title="Initial 
Configuration">Initial Configuration</A></LI>
+       <LI><A href="run-broker.html" title="Run Broker">Running a 
Broker</A></LI>
+       <LI><A href="configuring-transports.html" title="Configuring 
Transports">Configuring Transports</A></LI>
+       <LI><A href="destination-options.html" title="Destination 
Options">Destination Options</A></LI>
+       <LI><A href="examples.html" title="Examples">Examples</A></LI>
+       <LI><A href="how-can-i-monitor-activemq.html" title="How can I monitor 
ActiveMQ">Monitoring the Broker</A></LI>
+       <LI><A href="xml-configuration.html" title="Xml Configuration">Xml 
Configuration</A></LI>
+       <LI><A href="xml-reference.html" title="Xml Reference">Xml 
Reference</A></LI>
+       <LI><A href="web-samples.html" title="Web Samples">Web Samples</A></LI>
+       <LI><A href="hello-world.html" title="Hello World">Hello World</A></LI>
+       <LI><A href="use-cases.html" title="Use Cases">Use Cases</A></LI>
+       <LI><A href="topologies.html" title="Topologies">Topologies</A></LI>
+       <LI><A href="how-do-i-embed-a-broker-inside-a-connection.html" 
title="How do I embed a Broker inside a Connection">Embedded Brokers</A></LI>
+       <LI><A href="jmeter-performance-tests.html" title="JMeter Performance 
Tests">Performance Testing</A></LI>
+       <LI><A href="performance-tuning.html" title="Performance 
Tuning">Performance Tuning</A></LI>
+       <LI><A href="activemq-command-line-tools-reference.html" 
title="ActiveMQ Command Line Tools Reference">Command Line Tools</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Features"></A><A href="features.html" 
title="Features">Features</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="jmx.html" title="JMX">JMX</A></LI>
+       <LI><A href="performance.html" title="Performance">Performance</A></LI>
+       <LI><A href="protocols.html" title="Protocols">Protocols</A></LI>
+       <LI><A href="persistence.html" title="Persistence">Persistence</A></LI>
+       <LI><A href="jdbc-support.html" title="JDBC Support">JDBC 
Support</A></LI>
+       <LI><A href="security.html" title="Security">Security</A></LI>
+       <LI><A href="interceptors.html" 
title="Interceptors">Interceptors</A></LI>
+       <LI><A href="clustering.html" title="Clustering">Clustering</A></LI>
+       <LI><A href="discovery.html" title="Discovery">Discovery</A></LI>
+       <LI><A href="wildcard.html" title="Wildcard">Wildcard Support</A></LI>
+       <LI><A href="composite-destinations.html" title="Composite 
Destinations">Composite Destinations</A></LI>
+       <LI><A href="jms-streams.html" title="JMS Streams">JMS Streams</A></LI>
+       <LI><A href="advisory-message.html" title="Advisory Message">Advisory 
Message</A></LI>
+       <LI><A href="resource-adapter.html" title="Resource Adapter">JCA 1.5 
Resource Adapter</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Featuresin4.x"></A>Features in 4.x</H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="message-groups.html" title="Message Groups">Message 
Groups</A></LI>
+       <LI><A href="masterslave.html" title="MasterSlave">MasterSlave</A></LI>
+       <LI><A href="networks-of-brokers.html" title="Networks of 
Brokers">Networks of Brokers</A></LI>
+       <LI><A href="exclusive-consumer.html" title="Exclusive 
Consumer">Exclusive Consumer</A></LI>
+       <LI><A href="total-ordering.html" title="Total Ordering">Total 
Ordering</A></LI>
+       <LI><A href="consumer-priority.html" title="Consumer Priority">Consumer 
Priority</A></LI>
+       <LI><A href="retroactive-consumer.html" title="Retroactive 
Consumer">Retroactive Consumer</A></LI>
+       <LI><A href="jms-to-jms-bridge.html" title="JMS to JMS Bridge">JMS to 
JMS Bridge</A></LI>
+       <LI><A href="visualisation.html" 
title="Visualisation">Visualisation</A></LI>
+       <LI><A href="kaha-persistence.html" title="Kaha Persistence">Kaha 
Persistence</A></LI>
+       <LI><A href="async-sends.html" title="Async Sends">Async Sends</A></LI>
+       <LI><A href="changes-in-40.html" title="Changes in 4.0">Other new 
features</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Connectivity"></A><A href="connectivity.html" 
title="Connectivity">Connectivity</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="ajax.html" title="Ajax">Ajax</A></LI>
+       <LI><A href="axis-support.html" title="Axis Support">Axis 
Support</A></LI>
+       <LI><A href="c-integration.html" title="C Integration">C 
Integration</A></LI>
+       <LI><A href="dot-net.html" title="dot Net">.Net Integration</A></LI>
+       <LI><A href="geronimo.html" title="Geronimo">Geronimo</A></LI>
+       <LI><A href="j2ee.html" title="J2EE">J2EE</A></LI>
+       <LI><A href="jboss-integration.html" title="JBoss Integration">JBoss 
Integration</A></LI>
+       <LI><A href="jndi-support.html" title="JNDI Support">JNDI 
Support</A></LI>
+       <LI><A href="openwire.html" title="OpenWire">OpenWire</A></LI>
+       <LI><A href="rest.html" title="REST">REST</A></LI>
+       <LI><A href="rss-and-atom.html" title="RSS and Atom">RSS and 
Atom</A></LI>
+       <LI><A href="spring-support.html" title="Spring Support">Spring 
Support</A></LI>
+       <LI><A href="stomp.html" title="Stomp">Stomp</A></LI>
+       <LI><A href="sun-jndi.html" title="Sun JNDI">Sun JNDI</A></LI>
+       <LI><A href="tomcat.html" title="Tomcat">Tomcat</A></LI>
+       <LI><A href="unix-service.html" title="Unix Service">Unix 
Service</A></LI>
+       <LI><A href="wsif.html" title="WSIF">WSIF</A></LI>
+</UL>
+
+
+<H3><A name="Navigation-Tools"></A><A href="tools.html" 
title="Tools">Tools</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="web-console.html" title="Web Console">Web Console</A></LI>
+       <LI><A href="jca-container.html" title="JCA Container">JCA 
Container</A></LI>
+       <LI><A href="hermes-jms.html" title="Hermes Jms">Hermes Jms</A></LI>
+       <LI><SPAN class="nobr"><A href="http://jakarta.apache.org/jmeter"; 
title="Visit page outside Confluence" rel="nofollow">JMeter<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-RelatedProjects"></A>Related Projects</H3>
+
+<UL class="alternate" type="square">
+       <LI><SPAN class="nobr"><A 
href="http://incubator.apache.org/servicemix/"; title="Distributed Enterprise 
Service Bus based on JBI" rel="nofollow">Apache ServiceMix<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://lingo.codehaus.org/"; title="POJO 
Remoting using JMS" rel="nofollow">Lingo<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://jencks.org/"; title="Message 
Driven POJOs and pooling for JMS and JDBC" rel="nofollow">Jencks<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://stomp.codehaus.org/"; 
title="Simple cross language protocol for messaging" 
rel="nofollow">Stomp<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://activecluster.codehaus.org/"; 
title="Visit page outside Confluence" rel="nofollow">ActiveCluster<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://activespace.codehaus.org/"; 
title="Visit page outside Confluence" rel="nofollow">ActiveSpace<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://www.springframework.org/"; 
title="Visit page outside Confluence" rel="nofollow">Spring<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><SPAN class="nobr"><A href="http://geronimo.apache.org/"; 
title="Visit page outside Confluence" rel="nofollow">Geronimo<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Developers"></A><A href="developers.html" 
title="Developers">Developers</A></H3>
+
+<UL class="alternate" type="square">
+       <LI><A href="source.html" title="Source">Source</A></LI>
+       <LI><A href="building.html" title="Building">Building</A></LI>
+       <LI><A href="code-overview.html" title="Code Overview">Code 
Overview</A></LI>
+       <LI><A href="wire-protocol.html" title="Wire Protocol">Wire 
Protocol</A></LI>
+       <LI><A href="developer-guide.html" title="Developer Guide">Developer 
Guide</A></LI>
+       <LI><A href="becoming-a-committer.html" title="Becoming a 
committer">Becoming a committer</A></LI>
+       <LI><A href="integration-tests.html" title="Integration 
Tests">Integration Tests</A></LI>
+       <LI><A href="activemq-performance-module-users-manual.html" 
title="ActiveMQ Performance Module Users Manual">Maven2 Performance 
Plugin</A></LI>
+       <LI><A href="benchmark-tests.html" title="Benchmark Tests">Benchmark 
Tests</A></LI>
+       <LI><A href="jmeter-performance-tests.html" title="JMeter Performance 
Tests">JMeter Performance Tests</A></LI>
+       <LI><A href="release-guide.html" title="Release Guide">Release 
Guide</A></LI>
+       <LI><A href="junit-reports.html" title="JUnit Reports">JUnit 
Reports</A></LI>
+       <LI><SPAN class="nobr"><A 
href="http://activemq.codehaus.org/maven/clover/"; title="Visit page outside 
Confluence" rel="nofollow">Clover Report<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+       <LI><A href="source-xref.html" title="Source XRef">Source XRef</A></LI>
+       <LI><A href="test-source-xref.html" title="Test Source XRef">Test 
Source XRef</A></LI>
+       <LI><SPAN class="nobr"><A 
href="http://activemq.codehaus.org/maven/activemq.xsd.html"; title="Visit page 
outside Confluence" rel="nofollow">XSD<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></LI>
+</UL>
+
+
+<H3><A name="Navigation-Toolsweuse"></A>Tools we use</H3>
+
+<P><SPAN class="nobr"><A href="http://www.yourkit.com/"; title="Visit page 
outside Confluence" rel="nofollow"><IMG 
src="http://incubator.apache.org/activemq/images/yourkit.jpg"; align="absmiddle" 
border="0"><SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN><BR>
+<SPAN class="nobr"><A 
href="http://www.ej-technologies.com/products/jprofiler/overview.html"; 
title="Visit page outside Confluence" rel="nofollow"><IMG 
src="http://incubator.apache.org/activemq/images/logo_jprofiler01.gif"; 
width="120" height="40" align="absmiddle" border="0"><SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+          </DIV>
+        </TD>
+        <TD valign="top">
+          <DIV id="site-page">
+
+<!--          
+            <div class="pagetitle">Logging Interceptor</div>
+-->
+            <DIV class="wiki-content"><H2><A 
name="LoggingInterceptor-LoggingInterceptor"></A>Logging Interceptor</H2>
+
+<P>The Logging Interceptor is a pretty trivial <A href="interceptors.html" 
title="Interceptors">Interceptor</A> which just logs to <SPAN class="nobr"><A 
href="http://jakarta.apache.org/commons/logging/"; title="Visit page outside 
Confluence" rel="nofollow">Jakarta Commons Logging<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> or <SPAN 
class="nobr"><A href="http://logging.apache.org/log4j/docs/"; title="Visit page 
outside Confluence" rel="nofollow">log4j<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> as messages are 
sent or acknowledged on a broker.</P>
+
+<P>The default logging level used is <B>INFO</B>. If you want to 
increase/reduce the logging you can use <A 
href="how-do-i-change-the-logging.html" title="How do I change the 
logging">change it via commons logging or log4j</A>.</P>
+
+<P>You can enable the logging interceptor using the following <SPAN 
class="nobr"><A 
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/util/logging-broker.xml";
 title="Visit page outside Confluence" rel="nofollow">XML 
configuration<SUP><IMG class="rendericon" 
src="http://goopen.org/confluence/images/icons/linkext7.gif"; height="0" 
width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P>
+
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans&gt;</SPAN>
+  <SPAN class="code-tag">&lt;bean class=<SPAN 
class="code-quote">&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;</SPAN>/&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;broker useJmx=<SPAN 
class="code-quote">&quot;false&quot;</SPAN> persistent=<SPAN 
class="code-quote">&quot;false&quot;</SPAN> xmlns=<SPAN 
class="code-quote">&quot;http://activemq.org/config/1.0&quot;</SPAN>&gt;</SPAN>
+
+    <SPAN class="code-tag">&lt;plugins&gt;</SPAN>
+    
+      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!-- lets enable 
detailed logging in the broker --&gt;</SPAN></SPAN>
+      <SPAN class="code-tag">&lt;loggingBrokerPlugin/&gt;</SPAN>
+      
+    <SPAN class="code-tag">&lt;/plugins&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/broker&gt;</SPAN>
+
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV></DIV>
+          
+                  </DIV>
+        </TD>
+      </TR>
+      </TABLE>     
+      </DIV>
+    </DIV>
+    <DIV id="site-footer">
+          Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A>,
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on Jun 08, 2006
+                  
+      (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=8648";>edit 
page</A>)
+    </DIV>
+
+  </BODY>
+
+</HTML>
\ No newline at end of file

Modified: incubator/activemq/site/security.html
URL: 
http://svn.apache.org/viewvc/incubator/activemq/site/security.html?rev=412836&r1=412835&r2=412836&view=diff
==============================================================================
--- incubator/activemq/site/security.html (original)
+++ incubator/activemq/site/security.html Thu Jun  8 12:11:22 2006
@@ -242,8 +242,7 @@
 <!--          
             <div class="pagetitle">Security</div>
 -->
-            <DIV class="wiki-content">
-<P>ActiveMQ 4.x provides pluggable security through various different 
providers.</P>
+            <DIV class="wiki-content"><P>ActiveMQ 4.x provides pluggable 
security through various different providers.</P>
 
 <P>The most common providers are</P>
 <UL>
@@ -255,7 +254,7 @@
 <H3><A name="Security-Authentication"></A>Authentication</H3>
 <P>The default <SPAN class="nobr"><A href="http://java.sun.com/products/jaas/"; 
title="Visit page outside Confluence" rel="nofollow">JAAS<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> 
plugin relies on the standard JAAS mechanism for authentication. Refer to the 
<SPAN class="nobr"><A 
href="http://java.sun.com/products/jaas/reference/docs/index.html"; title="Visit 
page outside Confluence" rel="nofollow">documentation<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> for 
more detail.</P>
 
-<P>Typically you configure JAAS using a config file like <SPAN class="nobr"><A 
href="https://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/login.config";
 title="Visit page outside Confluence" rel="nofollow">this one<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and 
set the <B>java.security.auth.login.config</B> system property to point to it. 
If no system property is specified then by default the ActiveMQ JAAS plugin 
will look for <B>login.config</B> on the classpath and use that.</P>
+<P>Typically you configure JAAS using a config file like <SPAN class="nobr"><A 
href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/login.config";
 title="Visit page outside Confluence" rel="nofollow">this one<SUP><IMG 
class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif"; 
height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> and 
set the <B>java.security.auth.login.config</B> system property to point to it. 
If no system property is specified then by default the ActiveMQ JAAS plugin 
will look for <B>login.config</B> on the classpath and use that.</P>
 
 <H3><A name="Security-Authorization"></A>Authorization</H3>
 <P>In ActiveMQ we use a number of operations which you can associate with user 
roles and either individual queues or topics or you can use wildcards to attach 
to hierarchies of topics and queues.</P>
@@ -281,7 +280,39 @@
 
 <H3><A name="Security-Example"></A>Example</H3>
 <P>The following example shows these 2 plugins in operation. Though note its 
very easy to write your own plugin.</P>
+<DIV class="code"><DIV class="codeContent">
+<PRE class="code-xml"><SPAN class="code-tag">&lt;beans xmlns=<SPAN 
class="code-quote">&quot;http://activemq.org/config/1.0&quot;</SPAN>&gt;</SPAN>
+  <SPAN class="code-tag">&lt;bean class=<SPAN 
class="code-quote">&quot;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&quot;</SPAN>/&gt;</SPAN>
+
+  <SPAN class="code-tag">&lt;broker useJmx=<SPAN 
class="code-quote">&quot;false&quot;</SPAN> persistent=<SPAN 
class="code-quote">&quot;false&quot;</SPAN>&gt;</SPAN>
+
+    <SPAN class="code-tag">&lt;plugins&gt;</SPAN>
+      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!--  use JAAS to 
authenticate using the login.config file on the classpath to configure JAAS 
--&gt;</SPAN></SPAN>
+      <SPAN class="code-tag">&lt;jaasAuthenticationPlugin configuration=<SPAN 
class="code-quote">&quot;activemq-domain&quot;</SPAN> /&gt;</SPAN>
+
+      <SPAN class="code-tag"><SPAN class="code-comment">&lt;!--  lets 
configure a destination based authorization mechanism --&gt;</SPAN></SPAN>
+      <SPAN class="code-tag">&lt;authorizationPlugin&gt;</SPAN>
+        <SPAN class="code-tag">&lt;map&gt;</SPAN>
+          <SPAN class="code-tag">&lt;authorizationMap&gt;</SPAN>
+            <SPAN class="code-tag">&lt;authorizationEntries&gt;</SPAN>
+              <SPAN class="code-tag">&lt;authorizationEntry queue=<SPAN 
class="code-quote">&quot;&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> /&gt;
+              <SPAN class="code-tag">&lt;authorizationEntry queue=<SPAN 
class="code-quote">&quot;USERS.&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> /&gt;
+              <SPAN class="code-tag">&lt;authorizationEntry queue=<SPAN 
class="code-quote">&quot;GUEST.&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;guests&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> /&gt;
+              
+              <SPAN class="code-tag">&lt;authorizationEntry topic=<SPAN 
class="code-quote">&quot;&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;admins&quot;</SPAN> /&gt;
+              <SPAN class="code-tag">&lt;authorizationEntry topic=<SPAN 
class="code-quote">&quot;USERS.&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;users&quot;</SPAN> /&gt;
+              <SPAN class="code-tag">&lt;authorizationEntry topic=<SPAN 
class="code-quote">&quot;GUEST.&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;guests&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> /&gt;
+              
+              <SPAN class="code-tag">&lt;authorizationEntry topic=<SPAN 
class="code-quote">&quot;ActiveMQ.Advisory.&gt;</SPAN>&quot;</SPAN> read=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> write=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN> admin=<SPAN 
class="code-quote">&quot;guests,users&quot;</SPAN>/&gt;
+            <SPAN class="code-tag">&lt;/authorizationEntries&gt;</SPAN>
+          <SPAN class="code-tag">&lt;/authorizationMap&gt;</SPAN>
+        <SPAN class="code-tag">&lt;/map&gt;</SPAN>
+      <SPAN class="code-tag">&lt;/authorizationPlugin&gt;</SPAN>
+    <SPAN class="code-tag">&lt;/plugins&gt;</SPAN>
+  <SPAN class="code-tag">&lt;/broker&gt;</SPAN>
 
+<SPAN class="code-tag">&lt;/beans&gt;</SPAN></PRE>
+</DIV></DIV>
 
 <H3><A name="Security-MessagelevelAuthorization"></A>Message level 
Authorization</H3>
 
@@ -291,7 +322,7 @@
 <PRE class="code-java">&lt;broker&gt;
   ..
   &lt;messageAuthorizationPolicy&gt;
-    &lt;bean class=<SPAN 
class="code-quote">&quot;com.acme.MyMessageAuthorizationPolicy&quot;</SPAN>/&gt;
+    &lt;bean class=<SPAN 
class="code-quote">&quot;com.acme.MyMessageAuthorizationPolicy&quot;</SPAN> 
xmlns=&quot;&quot;/&gt;
   &lt;/messageAuthorizationPolicy&gt;
   ..
 &lt;/broker&gt;</PRE>
@@ -305,8 +336,8 @@
     </DIV>
     <DIV id="site-footer">
           Added by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A>,
-    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on May 12, 2006
-                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=221&originalId=5480";>view
 change</A>)
+    last edited by     <A 
href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan";>James
 Strachan</A> on Jun 08, 2006
+                  &nbsp;(<A 
href="http://goopen.org/confluence/pages/diffpages.action?pageId=221&originalId=8644";>view
 change</A>)
               
       (<A 
href="http://goopen.org/confluence/pages/editpage.action?pageId=221";>edit 
page</A>)
     </DIV>


Reply via email to