Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuration-File-Example.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuration-File-Example.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuration-File-Example.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuration-File-Example.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,144 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.13. An example of virtual host configuration 
file</title><link rel="stylesheet" href="css/style.css" type="text/css"><meta 
name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 
href="index.html" title="AMQP Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Configuring-DLQ.html" title="14.12. Configuring 
DLQs/Maximum Delivery Count"><link rel="next" 
href="Java-Broker-Miscellaneous.html" title="Chapter 15. 
Miscellaneous"></head><body><div class="container" bgcolor="white" text="black" 
link="#0000FF" vlink="#840084" alink="#0000FF"><DIV class="header"><DIV 
class="logo"><H1>Apache Qpid™</H1><H2>Open Source AMQP 
Messaging</H2></DIV></DIV><DIV class="menu_box"><DIV 
class="menu_box_top"></DIV><DIV cla
 ss="menu_box_body"><H3>Apache Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involved.html";>Getting 
Involved</A></LI><LI><A hre
 f="http://qpid.apache.org/source_repository.html";>Source 
Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV cla
 ss="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
Apache</H3><UL><LI><A href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">An example of 
virtual host configuration file</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="Java-Broker-Virtual-Host-Configuration-File-Exampl
 e"></a>14.13. An example of virtual host configuration 
file</h2></div></div></div><div class="example"><a name="id2504514"></a><p 
class="title"><b>Example 14.17. An example of virtual host configuration 
file</b></p><div class="example-contents"><pre class="programlisting">
+&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
+&lt;virtualhosts&gt;
+    &lt;virtualhost&gt;
+        &lt;name&gt;localhost&lt;/name&gt;
+        &lt;localhost&gt;
+            &lt;store&gt;
+                
&lt;class&gt;org.apache.qpid.server.store.MemoryMessageStore&lt;/class&gt;
+                
&lt;!--&lt;class&gt;org.apache.qpid.server.store.derby.DerbyMessageStore&lt;/class&gt;
+                
&lt;environment-path&gt;${QPID_WORK}/derbystore/localhost&lt;/environment-path&gt;--&gt;
+            &lt;/store&gt;
+
+            &lt;housekeeping&gt;
+                &lt;threadCount&gt;2&lt;/threadCount&gt;
+                &lt;checkPeriod&gt;20000&lt;/checkPeriod&gt;
+            &lt;/housekeeping&gt;
+
+            &lt;exchanges&gt;
+                &lt;exchange&gt;
+                    &lt;type&gt;direct&lt;/type&gt;
+                    &lt;name&gt;test.direct&lt;/name&gt;
+                    &lt;durable&gt;true&lt;/durable&gt;
+                &lt;/exchange&gt;
+                &lt;exchange&gt;
+                    &lt;type&gt;topic&lt;/type&gt;
+                    &lt;name&gt;test.topic&lt;/name&gt;
+                &lt;/exchange&gt;
+            &lt;/exchanges&gt;
+            &lt;queues&gt;
+                &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+                &lt;maximumQueueDepth&gt;4235264&lt;/maximumQueueDepth&gt;
+                &lt;!-- 4Mb --&gt;
+                &lt;maximumMessageSize&gt;2117632&lt;/maximumMessageSize&gt;
+                &lt;!-- 2Mb --&gt;
+                &lt;maximumMessageAge&gt;600000&lt;/maximumMessageAge&gt;
+                &lt;!-- 10 mins --&gt;
+                &lt;maximumMessageCount&gt;50&lt;/maximumMessageCount&gt;
+                &lt;!-- 50 messages --&gt;
+
+                &lt;queue&gt;
+                    &lt;name&gt;queue&lt;/name&gt;
+                &lt;/queue&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;ping&lt;/name&gt;
+                &lt;/queue&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;test-queue&lt;/name&gt;
+                    &lt;test-queue&gt;
+                        &lt;exchange&gt;test.direct&lt;/exchange&gt;
+                        &lt;durable&gt;true&lt;/durable&gt;
+                    &lt;/test-queue&gt;
+                &lt;/queue&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;test-ping&lt;/name&gt;
+                    &lt;test-ping&gt;
+                        &lt;exchange&gt;test.direct&lt;/exchange&gt;
+                    &lt;/test-ping&gt;
+                &lt;/queue&gt;
+
+            &lt;/queues&gt;
+        &lt;/localhost&gt;
+    &lt;/virtualhost&gt;
+
+    &lt;virtualhost&gt;
+        &lt;name&gt;development&lt;/name&gt;
+        &lt;development&gt;
+            &lt;store&gt;
+                
&lt;class&gt;org.apache.qpid.server.store.MemoryMessageStore&lt;/class&gt;
+                
&lt;!--&lt;class&gt;org.apache.qpid.server.store.derby.DerbyMessageStore&lt;/class&gt;
+                
&lt;environment-path&gt;${QPID_WORK}/derbystore/development&lt;/environment-path&gt;--&gt;
+            &lt;/store&gt;
+
+            &lt;queues&gt;
+                
&lt;minimumAlertRepeatGap&gt;30000&lt;/minimumAlertRepeatGap&gt;
+                &lt;maximumMessageCount&gt;50&lt;/maximumMessageCount&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;queue&lt;/name&gt;
+                    &lt;queue&gt;
+                        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+                        
&lt;maximumQueueDepth&gt;4235264&lt;/maximumQueueDepth&gt;
+                        &lt;!-- 4Mb --&gt;
+                        
&lt;maximumMessageSize&gt;2117632&lt;/maximumMessageSize&gt;
+                        &lt;!-- 2Mb --&gt;
+                        
&lt;maximumMessageAge&gt;600000&lt;/maximumMessageAge&gt;
+                        &lt;!-- 10 mins --&gt;
+                    &lt;/queue&gt;
+                &lt;/queue&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;ping&lt;/name&gt;
+                    &lt;ping&gt;
+                        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+                        
&lt;maximumQueueDepth&gt;4235264&lt;/maximumQueueDepth&gt;
+                        &lt;!-- 4Mb --&gt;
+                        
&lt;maximumMessageSize&gt;2117632&lt;/maximumMessageSize&gt;
+                        &lt;!-- 2Mb --&gt;
+                        
&lt;maximumMessageAge&gt;600000&lt;/maximumMessageAge&gt;
+                        &lt;!-- 10 mins --&gt;
+                    &lt;/ping&gt;
+                &lt;/queue&gt;
+            &lt;/queues&gt;
+        &lt;/development&gt;
+    &lt;/virtualhost&gt;
+
+    &lt;virtualhost&gt;
+        &lt;name&gt;test&lt;/name&gt;
+        &lt;test&gt;
+            &lt;store&gt;
+                
&lt;!--&lt;class&gt;org.apache.qpid.server.store.MemoryMessageStore&lt;/class&gt;--&gt;
+                
&lt;class&gt;org.apache.qpid.server.store.derby.DerbyMessageStore&lt;/class&gt;
+                
&lt;environment-path&gt;${QPID_WORK}/derbystore/test&lt;/environment-path&gt;
+            &lt;/store&gt;
+
+            &lt;queues&gt;
+                
&lt;minimumAlertRepeatGap&gt;30000&lt;/minimumAlertRepeatGap&gt;
+                &lt;maximumMessageCount&gt;50&lt;/maximumMessageCount&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;queue&lt;/name&gt;
+                    &lt;queue&gt;
+                        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+                        
&lt;maximumQueueDepth&gt;4235264&lt;/maximumQueueDepth&gt;
+                        &lt;!-- 4Mb --&gt;
+                        
&lt;maximumMessageSize&gt;2117632&lt;/maximumMessageSize&gt;
+                        &lt;!-- 2Mb --&gt;
+                        
&lt;maximumMessageAge&gt;600000&lt;/maximumMessageAge&gt;
+                        &lt;!-- 10 mins --&gt;
+                    &lt;/queue&gt;
+                &lt;/queue&gt;
+                &lt;queue&gt;
+                    &lt;name&gt;ping&lt;/name&gt;
+                    &lt;ping&gt;
+                        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+                        
&lt;maximumQueueDepth&gt;4235264&lt;/maximumQueueDepth&gt;
+                        &lt;!-- 4Mb --&gt;
+                        
&lt;maximumMessageSize&gt;2117632&lt;/maximumMessageSize&gt;
+                        &lt;!-- 2Mb --&gt;
+                        
&lt;maximumMessageAge&gt;600000&lt;/maximumMessageAge&gt;
+                        &lt;!-- 10 mins --&gt;
+                    &lt;/ping&gt;
+                &lt;/queue&gt;
+            &lt;/queues&gt;
+        &lt;/test&gt;
+    &lt;/virtualhost&gt;
+&lt;/virtualhosts&gt;
+        </pre></div></div><br class="example-break"></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Host-Configuring-DLQ.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Miscellaneous.html">Next</a></td></tr><tr><td width="40%" 
align="left" valign="top">14.12. Configuring DLQs/Maximum Delivery Count 
</td><td width="20%" align="center"><a accesskey="h" 
href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
Chapter 15. Miscellaneous</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Disk-Quotas.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Disk-Quotas.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Disk-Quotas.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Disk-Quotas.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,12 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.10. Configuring of Disk Quota-based Flow 
Control</title><link rel="stylesheet" href="css/style.css" 
type="text/css"><meta name="generator" content="DocBook XSL Stylesheets 
V1.73.2"><link rel="start" href="index.html" title="AMQP Messaging Broker 
(Java)"><link rel="up" href="Java-Broker-Virtual-Hosts-Configuration-File.html" 
title="Chapter 14. Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Configure-Flow-Control.html" title="14.9. 
Configuring of Producer Flow Control"><link rel="next" 
href="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html" 
title="14.11. Configuring Transaction Timeouts"></head><body><div 
class="container" bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV class="menu_b
 ox"><DIV class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>Apache 
Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involv
 ed.html">Getting Involved</A></LI><LI><A 
href="http://qpid.apache.org/source_repository.html";>Source 
Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI></UL></DIV
 ><DIV class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
 >class="menu_box_body"><H3>About Apache</H3><UL><LI><A 
 >href="http://www.apache.org";>Home</A></LI><LI><A 
 >href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 > href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
 >href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
 >class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
 >class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
 >class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
 >Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
 >href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
 >configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring 
 >of Disk Quota-based Flow Control</span></DIV><div class="section" 
 >lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="Java-Br
 oker-Virtual-Host-Configure-Disk-Quotas"></a>14.10. Configuring of Disk 
Quota-based Flow Control</h2></div></div></div><p>
+                An example of quota configuration for the BDB message store is 
provided below.
+        </p><div class="example"><a name="id2504321"></a><p 
class="title"><b>Example 14.14. Configuring a limit on a store</b></p><div 
class="example-contents"><pre class="programlisting">
+            
+&lt;store&gt;
+   
&lt;class&gt;org.apache.qpid.server.store.berkeleydb.BDBMessageStore&lt;/class&gt;
+   &lt;environment-path&gt;${work}/bdbstore/test&lt;/environment-path&gt;
+   &lt;overfull-size&gt;50000000&lt;/overfull-size&gt;
+   &lt;underfull-size&gt;45000000&lt;/underfull-size&gt;
+&lt;/store&gt;
+            
+            </pre></div></div><br class="example-break"></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Host-Configure-Flow-Control.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html">Next</a></td></tr><tr><td
 width="40%" align="left" valign="top">14.9. Configuring of Producer Flow 
Control </td><td width="20%" align="center"><a accesskey="h" 
href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
14.11. Configuring Transaction Timeouts</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Flow-Control.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Flow-Control.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Flow-Control.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configure-Flow-Control.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,36 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.9. Configuring of Producer Flow Control</title><link 
rel="stylesheet" href="css/style.css" type="text/css"><meta name="generator" 
content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" 
title="AMQP Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Declare-Queues.html" title="14.8. Configuring 
Queues"><link rel="next" 
href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html" title="14.10. 
Configuring of Disk Quota-based Flow Control"></head><body><div 
class="container" bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV 
class="menu_box"><DIV class="menu_box_top"></D
 IV><DIV class="menu_box_body"><H3>Apache Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involved.html";>Getting Involved</A></LI
 ><LI><A href="http://qpid.apache.org/source_repository.html";>Source 
 >Repository</A></LI><LI><A 
 >href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
 >href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
 >href="https://issues.apache.org/jira/browse/qpid";>Issue 
 >Reporting</A></LI><LI><A 
 >href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
 >href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 > class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
 >class="menu_box_body"><H3>Developers</H3><UL><LI><A 
 >href="https://cwiki.apache.org/qpid/building.html";>Building 
 >Qpid</A></LI><LI><A 
 >href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
 >Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
 >class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
 >AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
 >AMQP?</A></LI></UL></DIV><DIV class="menu_box_bottom"></D
 IV><DIV class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
Apache</H3><UL><LI><A href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring of 
Producer Flow Control</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="Java-Broker-Virtual-Host-Configure-Flow-Control"
 ></a>14.9. Configuring of Producer Flow Control</h2></div></div></div><p>Flow 
 >control capacity and flow resume capacity are required to set on a queue or 
 >virtual host to enable Producer flow control.</p><div class="example"><a 
 >name="id2504264"></a><p class="title"><b>Example 14.12. Configuring a queue 
 >depth limit</b></p><div class="example-contents"><pre class="programlisting">
+                
+&lt;queue&gt;
+    &lt;name&gt;test&lt;/name&gt;
+    &lt;test&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+
+        &lt;!-- set the queue capacity to 10Mb --&gt;
+        &lt;capacity&gt;10485760&lt;/capacity&gt;
+
+        &lt;!-- set the resume capacity to 8Mb --&gt;
+        &lt;flowResumeCapacity&gt;8388608&lt;/flowResumeCapacity&gt;
+    &lt;/test&gt;
+&lt;/queue&gt;
+                
+                </pre></div></div><br class="example-break">
+
+                The default for all queues on a virtual host can also be set
+
+             <div class="example"><a name="id2504283"></a><p 
class="title"><b>Example 14.13. Configuring of default queue depth limit on 
virtualhost</b></p><div class="example-contents"><pre class="programlisting">
+                
+&lt;virtualhosts&gt;
+    &lt;virtualhost&gt;
+        &lt;name&gt;localhost&lt;/name&gt;
+        &lt;localhost&gt;
+
+            &lt;!-- set the queue capacity to 10Mb --&gt;
+            &lt;capacity&gt;10485760&lt;/capacity&gt;
+
+            &lt;!-- set the resume capacity to 8Mb --&gt;
+            &lt;flowResumeCapacity&gt;8388608&lt;/flowResumeCapacity&gt;
+        &lt;/localhost&gt;
+    &lt;/virtualhost&gt;
+&lt;/virtualhosts&gt;
+                
+                </pre></div></div><br class="example-break"></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Host-Declare-Queues.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html">Next</a></td></tr><tr><td
 width="40%" align="left" valign="top">14.8. Configuring Queues </td><td 
width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td 
width="40%" align="right" valign="top"> 14.10. Configuring of Disk 
Quota-based Flow Control</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuring-DLQ.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuring-DLQ.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuring-DLQ.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Configuring-DLQ.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,46 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.12. Configuring DLQs/Maximum Delivery 
Count</title><link rel="stylesheet" href="css/style.css" type="text/css"><meta 
name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" 
href="index.html" title="AMQP Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html" 
title="14.11. Configuring Transaction Timeouts"><link rel="next" 
href="Java-Broker-Virtual-Host-Configuration-File-Example.html" title="14.13. 
An example of virtual host configuration file"></head><body><div 
class="container" bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV clas
 s="menu_box"><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Apache Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getti
 ng_involved.html">Getting Involved</A></LI><LI><A 
href="http://qpid.apache.org/source_repository.html";>Source 
Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI><
 /UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
Apache</H3><UL><LI><A href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring 
DLQs/Maximum Delivery Count</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a name="Jav
 a-Broker-Virtual-Host-Configuring-DLQ"></a>14.12. Configuring DLQs/Maximum 
Delivery Count</h2></div></div></div><p>In the below configuration it can be 
seen that DLQs/Maximum Delivery Count are enabled at
+   the virtual host "localhost" with maximum delivery count set to 5 and 
disable for virtual host "dev-only".</p><p>As 'dev-only-main-queue' has its own 
configuration specified, this value overrides all
+   others and causes the features to be enabled for this queue. In contrast to 
this,
+   'dev-only-other-queue' does not specify its own value and picks up the 
false value specified for
+   its parent virtualhost, causing the DLQ/Maximum Delivery Count features to 
be disabled for this
+   queue. Any such queue in the 'dev-only' virtualhost which does not specify 
its own configuration
+   value will have the DLQ/Maximum Delivery Count feature disabled.</p><p>The 
queue 'localhost-queue' has the DLQ/Maximum Delivery Count features disabled.
+  Any other queue in the 'localhost' virtualhost which does not specify
+   its own configuration value will have the features enabled (inherited from 
parent virtual host).</p><div class="example"><a name="id2504474"></a><p 
class="title"><b>Example 14.16. Enabling DLQs and maximum delivery count at 
virtualhost and queue level within
+    virtualhosts.xml</b></p><div class="example-contents"><pre 
class="programlisting">&lt;virtualhosts&gt;
+ ...
+ &lt;virtualhost&gt;
+  &lt;name&gt;dev-only&lt;/name&gt;
+  &lt;dev-only&gt;
+   &lt;queues&gt;
+    &lt;deadLetterQueues&gt;false&lt;/deadLetterQueues&gt;
+    &lt;maximumDeliveryCount&gt;0&lt;/maximumDeliveryCount&gt;
+    &lt;queue&gt;
+     &lt;name&gt;dev-only-main-queue&lt;/name&gt;
+     &lt;dev-only-main-queue&gt;
+      &lt;deadLetterQueues&gt;true&lt;/deadLetterQueues&gt;
+      &lt;maximumDeliveryCount&gt;3&lt;/maximumDeliveryCount&gt;
+     &lt;/dev-only-main-queue&gt;
+    &lt;/queue&gt;
+    &lt;queue&gt;
+     &lt;name&gt;dev-only-other-queue&lt;/name&gt;
+    &lt;/queue&gt;
+   &lt;/queues&gt;
+  &lt;/dev-only&gt;
+ &lt;/virtualhost&gt;
+ &lt;virtualhost&gt;
+  &lt;name&gt;localhost&lt;/name&gt;
+  &lt;localhost&gt;
+   &lt;queues&gt;
+    &lt;deadLetterQueues&gt;true&lt;/deadLetterQueues&gt;
+    &lt;maximumDeliveryCount&gt;5&lt;/maximumDeliveryCount&gt;
+    &lt;queue&gt;
+     &lt;name&gt;localhost-queue&lt;/name&gt;
+     &lt;deadLetterQueues&gt;false&lt;/deadLetterQueues&gt;
+    &lt;/queue&gt;
+   &lt;/queues&gt;
+  &lt;/localhost&gt;
+ &lt;/virtualhost&gt;
+ ...
+&lt;/virtualhosts&gt;
+   </pre></div></div><br class="example-break"></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html">Prev</a> 
</td><td width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Virtual-Host-Configuration-File-Example.html">Next</a></td></tr><tr><td
 width="40%" align="left" valign="top">14.11. Configuring Transaction 
Timeouts </td><td width="20%" align="center"><a accesskey="h" 
href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
14.13. An example of virtual host configuration 
file</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Declare-Queues.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Declare-Queues.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Declare-Queues.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Declare-Queues.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,54 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.8. Configuring Queues</title><link rel="stylesheet" 
href="css/style.css" type="text/css"><meta name="generator" content="DocBook 
XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="AMQP 
Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Configuration-Exchange.html" title="14.7. 
Configuring Exchanges"><link rel="next" 
href="Java-Broker-Virtual-Host-Configure-Flow-Control.html" title="14.9. 
Configuring of Producer Flow Control"></head><body><div class="container" 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV 
class="menu_box"><DIV class="menu_box_top"></DIV><DIV class="
 menu_box_body"><H3>Apache Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involved.html";>Getting 
Involved</A></LI><LI><A href="h
 ttp://qpid.apache.org/source_repository.html">Source Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV class="
 menu_box_top"></DIV><DIV class="menu_box_body"><H3>About Apache</H3><UL><LI><A 
href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring 
Queues</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="Java-Broker-Virtual-Host-Declare-Queues"></a>14.8. Configuring 
Queues</h2></di
 v></div></div><p>To create a priority, sorted or LVQ queue within 
configuration, add the appropriate xml
+        to the virtualhost.xml configuration file within the <code 
class="varname">queues</code>
+        element.</p><div class="section" lang="en"><div 
class="titlepage"><div><div><h3 class="title"><a 
name="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Simple"></a>14.8.1. 
Simple</h3></div></div></div><p>For declaration of a simple queue define a 
queue entry in the virtual host configuration as in example below</p><div 
class="example"><a name="id2504909"></a><p class="title"><b>Example 14.6. 
Configuring a simple queue</b></p><div class="example-contents"><pre 
class="programlisting">&lt;queue&gt;
+    &lt;name&gt;my-simple-queue&lt;/name&gt;
+    &lt;my-simple-queue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;durable&gt;true&lt;/durable&gt;
+    &lt;/my-simple-queue&gt;
+&lt;/queue&gt;</pre></div></div><br class="example-break"></div><div 
class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a 
name="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Priority"></a>14.8.2. 
Priority</h3></div></div></div><p> To defining a priority queue, add a 
&lt;priority&gt;true&lt;/priority&gt; element. By
+          default the queue will have 10 distinct priorities. </p><div 
class="example"><a name="id2504940"></a><p class="title"><b>Example 14.7. 
Configuring a priority queue</b></p><div class="example-contents"><pre 
class="programlisting">&lt;queue&gt;
+    &lt;name&gt;myqueue&lt;/name&gt;
+    &lt;myqueue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;priority&gt;true&lt;/priority&gt;
+    &lt;/myqueue&gt;
+&lt;/queue&gt;</pre></div></div><br class="example-break"><p> If you require 
fewer priorities, it is possible to specify a
+            <code class="varname">priorities</code> element (whose value is a 
integer value between 2 and 10
+          inclusive) which will give the queue that number of distinct 
priorities. When messages are
+          sent to that queue, their effective priority will be calculated by 
partitioning the
+          priority space. If the number of effective priorities is 2, then 
messages with priority
+          0-4 are treated the same as "lower priority" and messages with 
priority 5-9 are treated
+          equivalently as "higher priority". </p><div class="example"><a 
name="id2504121"></a><p class="title"><b>Example 14.8. Configuring a priority 
queue with fewer priorities</b></p><div class="example-contents"><pre 
class="programlisting">&lt;queue&gt;
+    &lt;name&gt;myqueue&lt;/name&gt;
+    &lt;myqueue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;priority&gt;true&lt;/priority&gt;
+        &lt;priorities&gt;4&lt;/priorities&gt;
+    &lt;/myqueue&gt;
+&lt;/queue&gt;</pre></div></div><br class="example-break"></div><div 
class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a 
name="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Sorted"></a>14.8.3. 
Sorted</h3></div></div></div><p> To define a sorted queue, add a <code 
class="varname">sortKey</code> element. The value of the
+            <code class="varname">sortKey</code> element defines the message 
property to use the value of when
+          sorting the messages put onto the queue. </p><div class="example"><a 
name="id2504162"></a><p class="title"><b>Example 14.9. Configuring a sorted 
queue</b></p><div class="example-contents"><pre 
class="programlisting">&lt;queue&gt;
+    &lt;name&gt;myqueue&lt;/name&gt;
+    &lt;myqueue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;sortKey&gt;message-property-to-sort-by&lt;/sortKey&gt;
+    &lt;/myqueue&gt;
+&lt;/queue&gt;</pre></div></div><br class="example-break"></div><div 
class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a 
name="Java-Broker-Queues-OtherTypes-CreateUsingConfig-LVQ"></a>14.8.4. 
LVQ</h3></div></div></div><p> To define a LVQ, add a <code 
class="varname">lvq</code> element with the value
+            <code class="constant">true</code>. Without any further 
configuration this will define an LVQ
+          which uses the JMS message property <code 
class="constant">qpid.LVQ_key</code> as the key for
+          replacement. </p><div class="example"><a name="id2504207"></a><p 
class="title"><b>Example 14.10. Configuring a LVQ queue</b></p><div 
class="example-contents"><pre class="programlisting">&lt;queue&gt;
+    &lt;name&gt;myqueue&lt;/name&gt;
+    &lt;myqueue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;lvq&gt;true&lt;/lvq&gt;
+    &lt;/myqueue&gt;
+&lt;/queue&gt;</pre></div></div><br class="example-break"><p> If you wish to 
define your own property then you can do so using the
+            <code class="varname">lvqKey</code> element.</p><div 
class="example"><a name="id2504229"></a><p class="title"><b>Example 14.11. 
Configuring a LVQ queue with custom message property name</b></p><div 
class="example-contents"><pre class="programlisting">&lt;queue&gt;
+    &lt;name&gt;myqueue&lt;/name&gt;
+    &lt;myqueue&gt;
+        &lt;exchange&gt;amq.direct&lt;/exchange&gt;
+        &lt;lvq&gt;true&lt;/lvq&gt;
+        &lt;lvqKey&gt;ISIN&lt;/lvqKey&gt;
+    &lt;/myqueue&gt;
+&lt;/queue&gt;</pre></div></div><br 
class="example-break"></div></div></div><div class="navfooter"><hr><table 
width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a 
accesskey="p" 
href="Java-Broker-Virtual-Host-Configuration-Exchange.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Virtual-Host-Configure-Flow-Control.html">Next</a></td></tr><tr><td
 width="40%" align="left" valign="top">14.7. Configuring Exchanges </td><td 
width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td 
width="40%" align="right" valign="top"> 14.9. Configuring of Producer Flow 
Control</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,19 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.11. Configuring Transaction Timeouts</title><link 
rel="stylesheet" href="css/style.css" type="text/css"><meta name="generator" 
content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" 
title="AMQP Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html" title="14.10. 
Configuring of Disk Quota-based Flow Control"><link rel="next" 
href="Java-Broker-Virtual-Host-Configuring-DLQ.html" title="14.12. Configuring 
DLQs/Maximum Delivery Count"></head><body><div class="container" 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV 
class="menu_box"><DIV clas
 s="menu_box_top"></DIV><DIV class="menu_box_body"><H3>Apache 
Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involved.html";>Gett
 ing Involved</A></LI><LI><A 
href="http://qpid.apache.org/source_repository.html";>Source 
Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI></UL></DIV><DIV class="
 menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>About Apache</H3><UL><LI><A 
href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring 
Transaction Timeouts</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="Java-Broker-Virtual-Host-Transac
 tion-Timeout-Configuring"></a>14.11. Configuring Transaction 
Timeouts</h2></div></div></div><p> The JMS transaction timeouts are configured 
on each virtual host defined in the XML
+    configuration files.</p><p> The default values for each of the parameters 
is 0, indicating that the particular check
+    is disabled.</p><p> Any or all of the parameters can be set, using the 
desired value in milliseconds, and will
+    be checked each time the housekeeping process runs, usually set to run 
every 30 seconds in
+    standard configuration. The meaning of each property is as follows:</p><p>
+    </p><div class="itemizedlist"><ul><li><p>openWarn - the time a transaction 
can be open for (with activity occurring on it) after
+       which a warning alert will be issued.</p></li><li><p>openClose - the 
time a transaction can be open for before the connection it is on is
+       closed.</p></li><li><p>idleWarn - the time a transaction can be idle 
for (with no activity occurring on it)
+       after which a warning alert will be issued.</p></li><li><p>idleClose - 
the time a transaction can be idle for before the connection it is on is
+       closed.</p></li></ul></div><p>
+   </p><p> The virtualhosts configuration is shown below, and must occur 
inside the
+   //virtualhosts/virtualhost/name/ elements: </p><div class="example"><a 
name="id2504419"></a><p class="title"><b>Example 14.15. Configuring producer 
transaction timeout</b></p><div class="example-contents"><pre 
class="programlisting">
+&lt;transactionTimeout&gt;
+    &lt;openWarn&gt;10000&lt;/openWarn&gt;
+    &lt;openClose&gt;20000&lt;/openClose&gt;
+    &lt;idleWarn&gt;5000&lt;/idleWarn&gt;
+    &lt;idleClose&gt;15000&lt;/idleClose&gt;
+&lt;/transactionTimeout&gt;
+   </pre></div></div><br class="example-break"></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Virtual-Host-Configuring-DLQ.html">Next</a></td></tr><tr><td 
width="40%" align="left" valign="top">14.10. Configuring of Disk Quota-based 
Flow Control </td><td width="20%" align="center"><a accesskey="h" 
href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
14.12. Configuring DLQs/Maximum Delivery Count</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>

Added: 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html
URL: 
http://svn.apache.org/viewvc/qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html?rev=1484371&view=auto
==============================================================================
--- 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html
 (added)
+++ 
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html
 Mon May 20 01:25:26 2013
@@ -0,0 +1,18 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>14.2. Configuring ACL</title><link rel="stylesheet" 
href="css/style.css" type="text/css"><meta name="generator" content="DocBook 
XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="AMQP 
Messaging Broker (Java)"><link rel="up" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="prev" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. 
Virtual Host XML configuration file"><link rel="next" 
href="Java-Broker-Stores-Memory-Store-Configuration.html" title="14.3. 
Configuring MemoryMessageStore"></head><body><div class="container" 
bgcolor="white" text="black" link="#0000FF" vlink="#840084" 
alink="#0000FF"><DIV class="header"><DIV class="logo"><H1>Apache 
Qpid™</H1><H2>Open Source AMQP Messaging</H2></DIV></DIV><DIV 
class="menu_box"><DIV class="menu_box_top"></DIV><DI
 V class="menu_box_body"><H3>Apache Qpid</H3><UL><LI><A 
href="http://qpid.apache.org/index.html";>Home</A></LI><LI><A 
href="http://qpid.apache.org/download.html";>Download</A></LI><LI><A 
href="http://qpid.apache.org/getting_started.html";>Getting 
Started</A></LI><LI><A 
href="http://www.apache.org/licenses/";>License</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/faq.html";>FAQ</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Documentation</H3><UL><LI><A 
href="http://qpid.apache.org/documentation.html#doc-release";>Latest 
Release</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-trunk";>Trunk</A></LI><LI><A 
href="http://qpid.apache.org/documentation.html#doc-archives";>Archive</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Community</H3><UL><LI><A 
href="http://qpid.apache.org/getting_involved.html";>Getting 
Involved</A></LI><LI><
 A href="http://qpid.apache.org/source_repository.html";>Source 
Repository</A></LI><LI><A 
href="http://qpid.apache.org/mailing_lists.html";>Mailing Lists</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/";>Wiki</A></LI><LI><A 
href="https://issues.apache.org/jira/browse/qpid";>Issue 
Reporting</A></LI><LI><A 
href="http://qpid.apache.org/people.html";>People</A></LI><LI><A 
href="http://qpid.apache.org/acknowledgements.html";>Acknowledgements</A></LI></UL></DIV><DIV
 class="menu_box_bottom"></DIV><DIV class="menu_box_top"></DIV><DIV 
class="menu_box_body"><H3>Developers</H3><UL><LI><A 
href="https://cwiki.apache.org/qpid/building.html";>Building Qpid</A></LI><LI><A 
href="https://cwiki.apache.org/qpid/developer-pages.html";>Developer 
Pages</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DIV 
class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
AMQP</H3><UL><LI><A href="http://qpid.apache.org/amqp.html";>What is 
AMQP?</A></LI></UL></DIV><DIV class="menu_box_bottom"></DIV><DI
 V class="menu_box_top"></DIV><DIV class="menu_box_body"><H3>About 
Apache</H3><UL><LI><A href="http://www.apache.org";>Home</A></LI><LI><A 
href="http://www.apache.org/foundation/sponsorship.html";>Sponsorship</A></LI><LI><A
 href="http://www.apache.org/foundation/thanks.html";>Thanks</A></LI><LI><A 
href="http://www.apache.org/security/";>Security</A></LI></UL></DIV><DIV 
class="menu_box_bottom"></DIV></DIV><div class="main_text_area"><div 
class="main_text_area_top"></div><div class="main_text_area_body"><DIV 
class="breadcrumbs"><span class="breadcrumb-link"><a href="index.html">AMQP 
Messaging Broker (Java)</a></span> &gt; <span class="breadcrumb-link"><a 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML 
configuration file</a></span> &gt; <span class="breadcrumb-node">Configuring 
ACL</span></DIV><div class="section" lang="en"><div 
class="titlepage"><div><div><h2 class="title"><a 
name="Java-Broker-Virtual-Hosts-Configuration-File-ACL"></a>14.2. Configuring 
 ACL</h2></div></div></div><p><a class="xref" 
href="Java-Broker-Security-ACLs.html" title="11.3. Access Control 
Lists">Section 11.3, “Access Control Lists”</a> provides the details of 
ACL, rules, formats, etc.</p><p>
+        To apply an ACL on a single virtualhost named <em 
class="replaceable"><code>test</code></em>, add the following to the 
virtualhosts.xml:
+        </p><pre class="programlisting">
+&lt;virtualhost&gt;
+...
+    &lt;name&gt;test&lt;/name&gt;
+    &lt;test&gt;
+      ...
+      &lt;security&gt;                          <a 
name="Java-Broker-Virtual-Hosts-Configuration-Security-ACL-1"></a>(1)
+        ...
+        &lt;acl&gt;<em 
class="replaceable"><code>${conf}/vhost_test.acl</code></em>&lt;/acl&gt; <a 
name="Java-Broker-Virtual-Hosts-Configuration-Security-ACL-2"></a>(2)
+        ...
+      &lt;/security&gt;
+      ...
+    &lt;/test&gt;
+&lt;/virtualhost&gt;
+        </pre><div class="calloutlist"><table border="0" summary="Callout 
list"><tr><td width="5%" valign="top" align="left"><p><a 
href="#Java-Broker-Virtual-Hosts-Configuration-Security-ACL-1">(1)</a> 
</p></td><td valign="top" align="left"><p>A security section of configuration 
is used to declare the ACL</p></td></tr><tr><td width="5%" valign="top" 
align="left"><p><a 
href="#Java-Broker-Virtual-Hosts-Configuration-Security-ACL-2">(2)</a> 
</p></td><td valign="top" align="left"><p>A path to an ACL file is configured 
(assuming that <em class="replaceable"><code>conf</code></em> has been set to a 
suitable
+      location such as 
${QPID_HOME}/etc)</p></td></tr></table></div></div></div><div 
class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td 
width="40%" align="left"><a accesskey="p" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Prev</a> </td><td 
width="20%" align="center"><a accesskey="u" 
href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td 
width="40%" align="right"> <a accesskey="n" 
href="Java-Broker-Stores-Memory-Store-Configuration.html">Next</a></td></tr><tr><td
 width="40%" align="left" valign="top">Chapter 14. Virtual Host XML 
configuration file </td><td width="20%" align="center"><a accesskey="h" 
href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
14.3. Configuring MemoryMessageStore</td></tr></table></div><div 
class="main_text_area_bottom"></div></div></div></body></html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to