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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"> +<?xml version="1.0" encoding="ISO-8859-1"?> +<virtualhosts> + <virtualhost> + <name>localhost</name> + <localhost> + <store> + <class>org.apache.qpid.server.store.MemoryMessageStore</class> + <!--<class>org.apache.qpid.server.store.derby.DerbyMessageStore</class> + <environment-path>${QPID_WORK}/derbystore/localhost</environment-path>--> + </store> + + <housekeeping> + <threadCount>2</threadCount> + <checkPeriod>20000</checkPeriod> + </housekeeping> + + <exchanges> + <exchange> + <type>direct</type> + <name>test.direct</name> + <durable>true</durable> + </exchange> + <exchange> + <type>topic</type> + <name>test.topic</name> + </exchange> + </exchanges> + <queues> + <exchange>amq.direct</exchange> + <maximumQueueDepth>4235264</maximumQueueDepth> + <!-- 4Mb --> + <maximumMessageSize>2117632</maximumMessageSize> + <!-- 2Mb --> + <maximumMessageAge>600000</maximumMessageAge> + <!-- 10 mins --> + <maximumMessageCount>50</maximumMessageCount> + <!-- 50 messages --> + + <queue> + <name>queue</name> + </queue> + <queue> + <name>ping</name> + </queue> + <queue> + <name>test-queue</name> + <test-queue> + <exchange>test.direct</exchange> + <durable>true</durable> + </test-queue> + </queue> + <queue> + <name>test-ping</name> + <test-ping> + <exchange>test.direct</exchange> + </test-ping> + </queue> + + </queues> + </localhost> + </virtualhost> + + <virtualhost> + <name>development</name> + <development> + <store> + <class>org.apache.qpid.server.store.MemoryMessageStore</class> + <!--<class>org.apache.qpid.server.store.derby.DerbyMessageStore</class> + <environment-path>${QPID_WORK}/derbystore/development</environment-path>--> + </store> + + <queues> + <minimumAlertRepeatGap>30000</minimumAlertRepeatGap> + <maximumMessageCount>50</maximumMessageCount> + <queue> + <name>queue</name> + <queue> + <exchange>amq.direct</exchange> + <maximumQueueDepth>4235264</maximumQueueDepth> + <!-- 4Mb --> + <maximumMessageSize>2117632</maximumMessageSize> + <!-- 2Mb --> + <maximumMessageAge>600000</maximumMessageAge> + <!-- 10 mins --> + </queue> + </queue> + <queue> + <name>ping</name> + <ping> + <exchange>amq.direct</exchange> + <maximumQueueDepth>4235264</maximumQueueDepth> + <!-- 4Mb --> + <maximumMessageSize>2117632</maximumMessageSize> + <!-- 2Mb --> + <maximumMessageAge>600000</maximumMessageAge> + <!-- 10 mins --> + </ping> + </queue> + </queues> + </development> + </virtualhost> + + <virtualhost> + <name>test</name> + <test> + <store> + <!--<class>org.apache.qpid.server.store.MemoryMessageStore</class>--> + <class>org.apache.qpid.server.store.derby.DerbyMessageStore</class> + <environment-path>${QPID_WORK}/derbystore/test</environment-path> + </store> + + <queues> + <minimumAlertRepeatGap>30000</minimumAlertRepeatGap> + <maximumMessageCount>50</maximumMessageCount> + <queue> + <name>queue</name> + <queue> + <exchange>amq.direct</exchange> + <maximumQueueDepth>4235264</maximumQueueDepth> + <!-- 4Mb --> + <maximumMessageSize>2117632</maximumMessageSize> + <!-- 2Mb --> + <maximumMessageAge>600000</maximumMessageAge> + <!-- 10 mins --> + </queue> + </queue> + <queue> + <name>ping</name> + <ping> + <exchange>amq.direct</exchange> + <maximumQueueDepth>4235264</maximumQueueDepth> + <!-- 4Mb --> + <maximumMessageSize>2117632</maximumMessageSize> + <!-- 2Mb --> + <maximumMessageAge>600000</maximumMessageAge> + <!-- 10 mins --> + </ping> + </queue> + </queues> + </test> + </virtualhost> +</virtualhosts> + </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> > <span class="breadcrumb-link"><a >href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML >configuration file</a></span> > <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"> + +<store> + <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class> + <environment-path>${work}/bdbstore/test</environment-path> + <overfull-size>50000000</overfull-size> + <underfull-size>45000000</underfull-size> +</store> + + </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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"> + +<queue> + <name>test</name> + <test> + <exchange>amq.direct</exchange> + + <!-- set the queue capacity to 10Mb --> + <capacity>10485760</capacity> + + <!-- set the resume capacity to 8Mb --> + <flowResumeCapacity>8388608</flowResumeCapacity> + </test> +</queue> + + </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"> + +<virtualhosts> + <virtualhost> + <name>localhost</name> + <localhost> + + <!-- set the queue capacity to 10Mb --> + <capacity>10485760</capacity> + + <!-- set the resume capacity to 8Mb --> + <flowResumeCapacity>8388608</flowResumeCapacity> + </localhost> + </virtualhost> +</virtualhosts> + + </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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"><virtualhosts> + ... + <virtualhost> + <name>dev-only</name> + <dev-only> + <queues> + <deadLetterQueues>false</deadLetterQueues> + <maximumDeliveryCount>0</maximumDeliveryCount> + <queue> + <name>dev-only-main-queue</name> + <dev-only-main-queue> + <deadLetterQueues>true</deadLetterQueues> + <maximumDeliveryCount>3</maximumDeliveryCount> + </dev-only-main-queue> + </queue> + <queue> + <name>dev-only-other-queue</name> + </queue> + </queues> + </dev-only> + </virtualhost> + <virtualhost> + <name>localhost</name> + <localhost> + <queues> + <deadLetterQueues>true</deadLetterQueues> + <maximumDeliveryCount>5</maximumDeliveryCount> + <queue> + <name>localhost-queue</name> + <deadLetterQueues>false</deadLetterQueues> + </queue> + </queues> + </localhost> + </virtualhost> + ... +</virtualhosts> + </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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"><queue> + <name>my-simple-queue</name> + <my-simple-queue> + <exchange>amq.direct</exchange> + <durable>true</durable> + </my-simple-queue> +</queue></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 <priority>true</priority> 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"><queue> + <name>myqueue</name> + <myqueue> + <exchange>amq.direct</exchange> + <priority>true</priority> + </myqueue> +</queue></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"><queue> + <name>myqueue</name> + <myqueue> + <exchange>amq.direct</exchange> + <priority>true</priority> + <priorities>4</priorities> + </myqueue> +</queue></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"><queue> + <name>myqueue</name> + <myqueue> + <exchange>amq.direct</exchange> + <sortKey>message-property-to-sort-by</sortKey> + </myqueue> +</queue></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"><queue> + <name>myqueue</name> + <myqueue> + <exchange>amq.direct</exchange> + <lvq>true</lvq> + </myqueue> +</queue></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"><queue> + <name>myqueue</name> + <myqueue> + <exchange>amq.direct</exchange> + <lvq>true</lvq> + <lvqKey>ISIN</lvqKey> + </myqueue> +</queue></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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"> +<transactionTimeout> + <openWarn>10000</openWarn> + <openClose>20000</openClose> + <idleWarn>5000</idleWarn> + <idleClose>15000</idleClose> +</transactionTimeout> + </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> > <span class="breadcrumb-link"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html">Virtual Host XML configuration file</a></span> > <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"> +<virtualhost> +... + <name>test</name> + <test> + ... + <security> <a name="Java-Broker-Virtual-Hosts-Configuration-Security-ACL-1"></a>(1) + ... + <acl><em class="replaceable"><code>${conf}/vhost_test.acl</code></em></acl> <a name="Java-Broker-Virtual-Hosts-Configuration-Security-ACL-2"></a>(2) + ... + </security> + ... + </test> +</virtualhost> + </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]
