You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2010/12/08 13:49:54 UTC
svn commit: r1043390 [1/3] - in /qpid/site/docs: ./
books/0.8/AMQP-Messaging-Broker-Java-Book/html/
books/0.8/AMQP-Messaging-Broker-Java-Book/pdf/
books/trunk/AMQP-Messaging-Broker-Java-Book/html/
books/trunk/AMQP-Messaging-Broker-Java-Book/pdf/
Author: robbie
Date: Wed Dec 8 12:49:52 2010
New Revision: 1043390
URL: http://svn.apache.org/viewvc?rev=1043390&view=rev
Log:
restore links to programming guide for 0.8, update doc output to include latest docbook source changes
Modified:
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch03.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/index.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/pt01.html
qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/pdf/AMQP-Messaging-Broker-Java-Book.pdf
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch01.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch03.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch04.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/index.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/html/pt01.html
qpid/site/docs/books/trunk/AMQP-Messaging-Broker-Java-Book/pdf/AMQP-Messaging-Broker-Java-Book.pdf
qpid/site/docs/documentation.html
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01.html Wed Dec 8 12:49:52 2010
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. General User Guides</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="next" href="ch01s02.html" title="1.2. Qpid Java FAQ"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. General User Guides</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></t
r></table><hr></div><div class="chapter" title="Chapter 1. General User Guides"><div class="titlepage"><div><div><h2 class="title"><a name="id2965790"></a>Chapter 1. General User Guides</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch01.html#id3017069">1.1.
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 1. General User Guides</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="next" href="ch01s02.html" title="1.2. Qpid Java FAQ"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 1. General User Guides</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pt01.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></t
r></table><hr></div><div class="chapter" title="Chapter 1. General User Guides"><div class="titlepage"><div><div><h2 class="title"><a name="id2629061"></a>Chapter 1. General User Guides</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch01.html#id2614054">1.1.
Java Broker Feature Guide
</a></span></dt><dd><dl><dt><span class="section"><a href="ch01.html#JavaBrokerFeatureGuide-TheQpidpureJavabrokercurrentlysupportsthefollowingfeatures-3A">1.1.1.
The Qpid pure Java broker currently supports the following
@@ -27,7 +27,7 @@
</a></span></dt><dt><span class="section"><a href="ch01s04.html#QpidTroubleshootingGuide-WhenItrytosendmessagestoaqueueI-27mgettingaerrorasthequeuedoesnotexist.WhatcanIdo-3F">1.4.5.
When I try to send messages to a queue I'm getting a error as
the queue does not exist. What can I do ?
- </a></span></dt></dl></dd><dt><span class="section"><a href="ch01s05.html">1.5. Broker Configuration Guide </a></span></dt><dd><dl><dt><span class="section"><a href="ch01s05.html#id2972062">1.5.1. Topic Configuration on Java Broker</a></span></dt></dl></dd></dl></div><div class="section" title="1.1. Java Broker Feature Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3017069"></a>1.1.
+ </a></span></dt></dl></dd><dt><span class="section"><a href="ch01s05.html">1.5. Broker Configuration Guide </a></span></dt><dd><dl><dt><span class="section"><a href="ch01s05.html#id2628870">1.5.1. Topic Configuration on Java Broker</a></span></dt></dl></dd></dl></div><div class="section" title="1.1. Java Broker Feature Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2614054"></a>1.1.
Java Broker Feature Guide
</h2></div></div></div><div class="section" title="1.1.1. The Qpid pure Java broker currently supports the following features:"><div class="titlepage"><div><div><h3 class="title"><a name="JavaBrokerFeatureGuide-TheQpidpureJavabrokercurrentlysupportsthefollowingfeatures-3A"></a>1.1.1.
The Qpid pure Java broker currently supports the following
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s02.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.2. Qpid Java FAQ</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch01.html" title="Chapter 1. General User Guides"><link rel="prev" href="ch01.html" title="Chapter 1. General User Guides"><link rel="next" href="ch01s03.html" title="1.3. Java Environment Variables"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.2.
Qpid Java FAQ
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s03.html">Next</a></td></tr></table><hr></div><div class="section" title="1.2. Qpid Java FAQ"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2991256"></a>1.2.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s03.html">Next</a></td></tr></table><hr></div><div class="section" title="1.2. Qpid Java FAQ"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616856"></a>1.2.
Qpid Java FAQ
</h2></div></div></div><div class="section" title="1.2.1. Purpose"><div class="titlepage"><div><div><h3 class="title"><a name="QpidJavaFAQ-Purpose"></a>1.2.1. Purpose</h3></div></div></div><p>
Here are a list of commonly asked questions and answers. Click on
@@ -265,7 +265,7 @@ amqj.logging.level
The following command line options are available:
</p><p>
The following options are available:
- </p><div class="table"><a name="id3011392"></a><p class="title"><b>Table 1.1.
+ </p><div class="table"><a name="id2628253"></a><p class="title"><b>Table 1.1.
Command Line Options
</b></p><div class="table-contents"><table summary="
Command Line Options
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s03.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.3. Java Environment Variables</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch01.html" title="Chapter 1. General User Guides"><link rel="prev" href="ch01s02.html" title="1.2. Qpid Java FAQ"><link rel="next" href="ch01s04.html" title="1.4. Qpid Troubleshooting Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.3.
Java Environment Variables
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s04.html">Next</a></td></tr></table><hr></div><div class="section" title="1.3. Java Environment Variables"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2989042"></a>1.3.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s02.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s04.html">Next</a></td></tr></table><hr></div><div class="section" title="1.3. Java Environment Variables"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601154"></a>1.3.
Java Environment Variables
</h2></div></div></div><div class="section" title="1.3.1. Setting Qpid Environment Variables"><div class="titlepage"><div><div><h3 class="title"><a name="JavaEnvironmentVariables-SettingQpidEnvironmentVariables"></a>1.3.1.
Setting
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s04.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.4. Qpid Troubleshooting Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch01.html" title="Chapter 1. General User Guides"><link rel="prev" href="ch01s03.html" title="1.3. Java Environment Variables"><link rel="next" href="ch01s05.html" title="1.5. Broker Configuration Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.4.
Qpid Troubleshooting Guide
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s03.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s05.html">Next</a></td></tr></table><hr></div><div class="section" title="1.4. Qpid Troubleshooting Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3005745"></a>1.4.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s03.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch01s05.html">Next</a></td></tr></table><hr></div><div class="section" title="1.4. Qpid Troubleshooting Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2599338"></a>1.4.
Qpid Troubleshooting Guide
</h2></div></div></div><div class="section" title="1.4.1. I'm getting a java.lang.UnsupportedClassVersionError when I try to start the broker. What does this mean ?"><div class="titlepage"><div><div><h3 class="title"><a name="QpidTroubleshootingGuide-I-27mgettingajava.lang.UnsupportedClassVersionErrorwhenItrytostartthebroker.Whatdoesthismean-3F"></a>1.4.1.
I'm getting a java.lang.UnsupportedClassVersionError when I
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch01s05.html Wed Dec 8 12:49:52 2010
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.5. Broker Configuration Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch01.html" title="Chapter 1. General User Guides"><link rel="prev" href="ch01s04.html" title="1.4. Qpid Troubleshooting Guide"><link rel="next" href="ch02.html" title="Chapter 2. How Tos"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.5. Broker Configuration Guide </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr></table><hr></div><div class="section" title="1.5. Broker
Configuration Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3014344"></a>1.5. Broker Configuration Guide </h2></div></div></div><div class="section" title="1.5.1. Topic Configuration on Java Broker"><div class="titlepage"><div><div><h3 class="title"><a name="id2972062"></a>1.5.1. Topic Configuration on Java Broker</h3></div></div></div><p>New in 0.8 is the ability to define configuration for topics. Currently this is limited to
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>1.5. Broker Configuration Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch01.html" title="Chapter 1. General User Guides"><link rel="prev" href="ch01s04.html" title="1.4. Qpid Troubleshooting Guide"><link rel="next" href="ch02.html" title="Chapter 2. How Tos"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">1.5. Broker Configuration Guide </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><th width="60%" align="center">Chapter 1. General User Guides</th><td width="20%" align="right"> <a accesskey="n" href="ch02.html">Next</a></td></tr></table><hr></div><div class="section" title="1.5. Broker
Configuration Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2644260"></a>1.5. Broker Configuration Guide </h2></div></div></div><div class="section" title="1.5.1. Topic Configuration on Java Broker"><div class="titlepage"><div><div><h3 class="title"><a name="id2628870"></a>1.5.1. Topic Configuration on Java Broker</h3></div></div></div><p>New in 0.8 is the ability to define configuration for topics. Currently this is limited to
configuration for slow consumer detection. This configuration is based on the work
designed on the <a class="ulink" href="http://cwiki.apache.org/confluence/display/qpid/Topic+Configuration+Design" target="_top">design
wiki</a>.</p><div class="section" title="1.5.1.1. Topic Identification"><div class="titlepage"><div><div><h4 class="title"><a name="Topic%20Identification"></a>1.5.1.1. Topic Identification</h4></div></div></div><p>A configuration section has two entries that can be used to identify how the
@@ -21,7 +21,7 @@
<name>stocks.us</name>
<subscriptionName>clientid:mysubscription</subscriptionName>
</pre><p>
- </p></div><div class="section" title="1.5.1.2. Configuration Items"><div class="titlepage"><div><div><h4 class="title"><a name="id3011987"></a>1.5.1.2. Configuration Items</h4></div></div></div><p> Currently only one element of the designed configuration is processed, that of the
+ </p></div><div class="section" title="1.5.1.2. Configuration Items"><div class="titlepage"><div><div><h4 class="title"><a name="id2639690"></a>1.5.1.2. Configuration Items</h4></div></div></div><p> Currently only one element of the designed configuration is processed, that of the
slow consumer detection. This is setup as below using the 'slow-consumer-detection'
element. There are two required types of tag, first the trigger, which is one of
'depth', 'messageAge' or 'messageCount' and secondly the 'policy'. </p><pre class="programlisting">
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02.html Wed Dec 8 12:49:52 2010
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. How Tos</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="ch01s05.html" title="1.5. Broker Configuration Guide"><link rel="next" href="ch02s02.html" title="2.2. Configure ACLs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. How Tos</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s05.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr></table><hr></div><div class="chapte
r" title="Chapter 2. How Tos"><div class="titlepage"><div><div><h2 class="title"><a name="Qpid-Java-Broker-HowTos"></a>Chapter 2. How Tos</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch02.html#id2974479">2.1.
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 2. How Tos</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="ch01s05.html" title="1.5. Broker Configuration Guide"><link rel="next" href="ch02s02.html" title="2.2. Configure ACLs"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 2. How Tos</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s05.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td></tr></table><hr></div><div class="chapte
r" title="Chapter 2. How Tos"><div class="titlepage"><div><div><h2 class="title"><a name="Qpid-Java-Broker-HowTos"></a>Chapter 2. How Tos</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch02.html#id2641252">2.1.
Add New Users
</a></span></dt><dd><dl><dt><span class="section"><a href="ch02.html#AddNewUsers-AvailablePasswordfileformats">2.1.1.
Available
@@ -71,7 +71,7 @@
Priority Queues
</a></span></dt><dt><span class="section"><a href="ch02s10.html#UsePriorityQueues-Clientconfiguration-2Fmessagingmodelforpriorityqueues">2.10.3.
Client configuration/messaging model for priority queues
- </a></span></dt></dl></dd><dt><span class="section"><a href="ch02s11.html">2.11. Slow Consumer Disconnect - User Guide</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s11.html#id3015241">2.11.1. Introduction</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2990645">2.11.2. What can it do?</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2987258">2.11.3. Frequency of SCD Checking</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2974019">2.11.4. Client Exception<span class="bold"><strong>s</strong></span></a></span></dt><dt><span class="section"><a href="ch02s11.html#id3017482">2.11.5. Disconnection Thresholds</a></span></dt><dt><span class="section"><a href="ch02s11.html#id3000505">2.11.6. Important Points To Note</a></span></dt></dl></dd></dl></div><div class="section" title="2.1. Add New Users"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2974479"></a>2.1.
+ </a></span></dt></dl></dd><dt><span class="section"><a href="ch02s11.html">2.11. Slow Consumer Disconnect - User Guide</a></span></dt><dd><dl><dt><span class="section"><a href="ch02s11.html#id2627511">2.11.1. Introduction</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2616861">2.11.2. What can it do?</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2643114">2.11.3. Frequency of SCD Checking</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2634118">2.11.4. Client Exception<span class="bold"><strong>s</strong></span></a></span></dt><dt><span class="section"><a href="ch02s11.html#id2630213">2.11.5. Disconnection Thresholds</a></span></dt><dt><span class="section"><a href="ch02s11.html#id2601057">2.11.6. Important Points To Note</a></span></dt></dl></dd></dl></div><div class="section" title="2.1. Add New Users"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2641252"></a>2.1.
Add New Users
</h2></div></div></div><p>
The Qpid Java Broker has a single reference source (<a class="xref" href="">???</a>) that
@@ -218,7 +218,7 @@ martin:X03MO1qnZdYdgyfeuILPmQ==
about the SASL module they support and not the type of
PrincipalDatabase. So I client that understands CRAM-MD5 will
work correctly with a Plain and Base64MD5 PrincipalDatabase.
- </p><div class="table"><a name="id3012233"></a><p class="title"><b>Table 2.1. File Format and Principal Database</b></p><div class="table-contents"><table summary="File Format and Principal Database" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+ </p><div class="table"><a name="id2631236"></a><p class="title"><b>Table 2.1. File Format and Principal Database</b></p><div class="table-contents"><table summary="File Format and Principal Database" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
FileFormat/PrincipalDatabase
</td><td>
SASL
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s02.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.2. Configure ACLs</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02.html" title="Chapter 2. How Tos"><link rel="next" href="ch02s03.html" title="2.3. Configure Java Qpid to use a SSL connection."></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.2.
Configure ACLs
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="section" title="2.2. Configure ACLs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2990336"></a>2.2.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s03.html">Next</a></td></tr></table><hr></div><div class="section" title="2.2. Configure ACLs"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2616992"></a>2.2.
Configure ACLs
</h2></div></div></div><div class="section" title="2.2.1. Configure ACLs"><div class="titlepage"><div><div><h3 class="title"><a name="ConfigureACLs-ConfigureACLs"></a>2.2.1.
Configure ACLs
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s03.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.3. Configure Java Qpid to use a SSL connection.</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s02.html" title="2.2. Configure ACLs"><link rel="next" href="ch02s04.html" title="2.4. Configure Log4j CompositeRolling Appender"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.3.
Configure Java Qpid to use a SSL connection.
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s04.html">Next</a></td></tr></table><hr></div><div class="section" title="2.3. Configure Java Qpid to use a SSL connection."><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2983093"></a>2.3.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s02.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s04.html">Next</a></td></tr></table><hr></div><div class="section" title="2.3. Configure Java Qpid to use a SSL connection."><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2609748"></a>2.3.
Configure Java Qpid to use a SSL connection.
</h2></div></div></div><div class="section" title="2.3.1. Using SSL connection with Qpid Java."><div class="titlepage"><div><div><h3 class="title"><a name="ConfigureJavaQpidtouseaSSLconnection.-UsingSSLconnectionwithQpidJava."></a>2.3.1.
Using SSL connection with Qpid Java.
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s04.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.4. Configure Log4j CompositeRolling Appender</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s03.html" title="2.3. Configure Java Qpid to use a SSL connection."><link rel="next" href="ch02s05.html" title="2.5. Configure the Broker via config.xml"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.4.
Configure Log4j CompositeRolling Appender
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr></table><hr></div><div class="section" title="2.4. Configure Log4j CompositeRolling Appender"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3016112"></a>2.4.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s03.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s05.html">Next</a></td></tr></table><hr></div><div class="section" title="2.4. Configure Log4j CompositeRolling Appender"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618677"></a>2.4.
Configure Log4j CompositeRolling Appender
</h2></div></div></div><div class="section" title="2.4.1. How to configure the CompositeRolling log4j Appender"><div class="titlepage"><div><div><h3 class="title"><a name="ConfigureLog4jCompositeRollingAppender-HowtoconfiguretheCompositeRollinglog4jAppender"></a>2.4.1.
How to configure the CompositeRolling log4j Appender
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s05.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.5. Configure the Broker via config.xml</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s04.html" title="2.4. Configure Log4j CompositeRolling Appender"><link rel="next" href="ch02s06.html" title="2.6. Configure the Virtual Hosts via virtualhosts.xml"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.5.
Configure the Broker via config.xml
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s06.html">Next</a></td></tr></table><hr></div><div class="section" title="2.5. Configure the Broker via config.xml"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3004467"></a>2.5.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s04.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s06.html">Next</a></td></tr></table><hr></div><div class="section" title="2.5. Configure the Broker via config.xml"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2601078"></a>2.5.
Configure the Broker via config.xml
</h2></div></div></div><div class="section" title="2.5.1. Broker config.xml Overview"><div class="titlepage"><div><div><h3 class="title"><a name="ConfiguretheBrokerviaconfig.xml-Brokerconfig.xmlOverview"></a>2.5.1.
Broker config.xml Overview
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s06.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.6. Configure the Virtual Hosts via virtualhosts.xml</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s05.html" title="2.5. Configure the Broker via config.xml"><link rel="next" href="ch02s07.html" title="2.7. Debug using log4j"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.6.
Configure the Virtual Hosts via virtualhosts.xml
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s05.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s07.html">Next</a></td></tr></table><hr></div><div class="section" title="2.6. Configure the Virtual Hosts via virtualhosts.xml"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3003436"></a>2.6.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s05.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s07.html">Next</a></td></tr></table><hr></div><div class="section" title="2.6. Configure the Virtual Hosts via virtualhosts.xml"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2615682"></a>2.6.
Configure the Virtual Hosts via virtualhosts.xml
</h2></div></div></div><div class="section" title="2.6.1. virtualhosts.xml Overview"><div class="titlepage"><div><div><h3 class="title"><a name="ConfiguretheVirtualHostsviavirtualhosts.xml-virtualhosts.xmlOverview"></a>2.6.1.
virtualhosts.xml Overview
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s07.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.7. Debug using log4j</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s06.html" title="2.6. Configure the Virtual Hosts via virtualhosts.xml"><link rel="next" href="ch02s08.html" title="2.8. How to Tune M3 Java Broker Performance"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.7.
Debug using log4j
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s06.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s08.html">Next</a></td></tr></table><hr></div><div class="section" title="2.7. Debug using log4j"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2973019"></a>2.7.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s06.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s08.html">Next</a></td></tr></table><hr></div><div class="section" title="2.7. Debug using log4j"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2617851"></a>2.7.
Debug using log4j
</h2></div></div></div><div class="section" title="2.7.1. Debugging with log4j configurations"><div class="titlepage"><div><div><h3 class="title"><a name="Debugusinglog4j-Debuggingwithlog4jconfigurations"></a>2.7.1.
Debugging
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s08.html Wed Dec 8 12:49:52 2010
@@ -38,7 +38,7 @@
</p><p>
These strategies have been successfully tested to mitigate this
problem:
- </p><div class="table"><a name="id3004406"></a><p class="title"><b>Table 2.2. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+ </p><div class="table"><a name="id2616900"></a><p class="title"><b>Table 2.2. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
Strategy
</td><td>
Result
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s09.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.9. Qpid Java Build How To</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s08.html" title="2.8. How to Tune M3 Java Broker Performance"><link rel="next" href="ch02s10.html" title="2.10. Use Priority Queues"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.9.
Qpid Java Build How To
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s10.html">Next</a></td></tr></table><hr></div><div class="section" title="2.9. Qpid Java Build How To"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2970808"></a>2.9.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s08.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s10.html">Next</a></td></tr></table><hr></div><div class="section" title="2.9. Qpid Java Build How To"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2634304"></a>2.9.
Qpid Java Build How To
</h2></div></div></div><div class="section" title="2.9.1. Build Instructions - General"><div class="titlepage"><div><div><h3 class="title"><a name="QpidJavaBuildHowTo-BuildInstructionsGeneral"></a>2.9.1.
Build
@@ -42,7 +42,7 @@
level build script which inherits from the template.
</p><p>
So, at the top level there are:
- </p><div class="table"><a name="id2991214"></a><p class="title"><b>Table 2.3. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+ </p><div class="table"><a name="id2640982"></a><p class="title"><b>Table 2.3. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
File
</td><td>
Description
@@ -62,7 +62,7 @@
module builds
</td></tr></tbody></table></div></div><br class="table-break"><p>
Then, in each module subdirectory there is:
- </p><div class="table"><a name="id3014337"></a><p class="title"><b>Table 2.4. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+ </p><div class="table"><a name="id2623944"></a><p class="title"><b>Table 2.4. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
File
</td><td>
Description
@@ -74,7 +74,7 @@
Build targets
</h4></div></div></div><p>
The main build targets you are probably interested in are:
- </p><div class="table"><a name="id3010121"></a><p class="title"><b>Table 2.5. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
+ </p><div class="table"><a name="id2626175"></a><p class="title"><b>Table 2.5. </b></p><div class="table-contents"><table summary="" border="1"><colgroup><col><col></colgroup><tbody><tr><td>
Target
</td><td>
Description
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s10.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.10. Use Priority Queues</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s09.html" title="2.9. Qpid Java Build How To"><link rel="next" href="ch02s11.html" title="2.11. Slow Consumer Disconnect - User Guide"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.10.
Use Priority Queues
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s09.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s11.html">Next</a></td></tr></table><hr></div><div class="section" title="2.10. Use Priority Queues"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3009495"></a>2.10.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s09.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch02s11.html">Next</a></td></tr></table><hr></div><div class="section" title="2.10. Use Priority Queues"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2625740"></a>2.10.
Use Priority Queues
</h2></div></div></div><div class="section" title="2.10.1. General Information"><div class="titlepage"><div><div><h3 class="title"><a name="UsePriorityQueues-GeneralInformation"></a>2.10.1.
General
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch02s11.html Wed Dec 8 12:49:52 2010
@@ -1,128 +1,79 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.11. Slow Consumer Disconnect - User Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s10.html" title="2.10. Use Priority Queues"><link rel="next" href="ch03.html" title="Chapter 3. Qpid JMX Management Console"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.11. Slow Consumer Disconnect - User Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s10.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div class="section" title=
"2.11. Slow Consumer Disconnect - User Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3012461"></a>2.11. Slow Consumer Disconnect - User Guide</h2></div></div></div><div class="section" title="2.11.1. Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id3015241"></a>2.11.1. Introduction</h3></div></div></div><p>
-
- </p><p>Slow Consumer Disconnect (SCD) is a new feature in Qpid that provides a configurable
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>2.11. Slow Consumer Disconnect - User Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch02.html" title="Chapter 2. How Tos"><link rel="prev" href="ch02s10.html" title="2.10. Use Priority Queues"><link rel="next" href="ch03.html" title="Chapter 3. Qpid JMX Management Console"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">2.11. Slow Consumer Disconnect - User Guide</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch02s10.html">Prev</a> </td><th width="60%" align="center">Chapter 2. How Tos</th><td width="20%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr></table><hr></div><div class="section" title=
"2.11. Slow Consumer Disconnect - User Guide"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2618158"></a>2.11. Slow Consumer Disconnect - User Guide</h2></div></div></div><div class="section" title="2.11.1. Introduction"><div class="titlepage"><div><div><h3 class="title"><a name="id2627511"></a>2.11.1. Introduction</h3></div></div></div><p>Slow Consumer Disconnect (SCD) is a new feature in Qpid that provides a configurable
mechanism to prevent a single slow consumer from causing a back up of unconsumed messages on
- the broker. </p><p>
-
- </p><p>This is most relevant where Topics are in use, since a published message is not removed
- from the broker's memory until all subscribers have acknowledged that message. </p><p>
-
- </p><p>Cases where a consumer is 'slow' can arise due to one of the following: poor network
- connectivity exists; a transitory system issue affects a single client;a single subscriber
+ the broker. </p><p>This is most relevant where Topics are in use, since a published message is not removed
+ from the broker's memory until all subscribers have acknowledged that message. </p><p>Cases where a consumer is 'slow' can arise due to one of the following: poor network
+ connectivity exists; a transient system issue affects a single client; a single subscriber
written by a client team is behaving incorrectly and not acknowledging messages; a
- downstream resource such as a database is non-responsive. </p><p>
-
- </p><p>SCD will enable the application owner to configure limits for a given consumer's queue and
- the behaviour to execute when those limits are reached. </p><p>
-
- </p></div><div class="section" title="2.11.2. What can it do?"><div class="titlepage"><div><div><h3 class="title"><a name="id2990645"></a>2.11.2. What can it do?</h3></div></div></div><p>
-
- </p><p>SCD is only applicable to topics and durable subscriptions and can be configured on either
- topic or a subscription name. </p><p>
-
- </p><p>On triggering of a specified threshold the offending client will be disconnected from the
+ downstream resource such as a database is non-responsive. </p><p>SCD will enable the application owner to configure limits for a given consumer's queue and
+ the behaviour to execute when those limits are reached. </p></div><div class="section" title="2.11.2. What can it do?"><div class="titlepage"><div><div><h3 class="title"><a name="id2616861"></a>2.11.2. What can it do?</h3></div></div></div><p>SCD is only applicable to topics or durable subscriptions and can be configured on either
+ a topic or a subscription name. </p><p>On triggering of a specified threshold the offending client will be disconnected from the
broker with a 506 error code wrapped in a JMSException returned to the client via the
ExceptionListener registered on the Connection object. </p><p>Note that it is essential that an ExceptionListener be specified by the client on
creation of the connection and that exceptions coming back on that listener are handled
- correctly. </p><p>
-
- </p></div><div class="section" title="2.11.3. Frequency of SCD Checking"><div class="titlepage"><div><div><h3 class="title"><a name="id2987258"></a>2.11.3. Frequency of SCD Checking</h3></div></div></div><p>
-
- </p><div class="section" title="2.11.3.1. Configuring Frequency"><div class="titlepage"><div><div><h4 class="title"><a name="id2990212"></a>2.11.3.1. <span class="bold"><strong>Configuring Frequency</strong></span></h4></div></div></div><p>
-
- </p><p>You can configure the frequency with which the SCD process will check for slow consumers,
- along with the unit of time you're using to specify that frequency. </p><p>
-
- </p><p><span class="italic">virtualhosts.virtualhost.slow-consumer-detection. delay</span>
- and <span class="italic">.timeunit</span> are the elements used to specify the
- frequency and timeunit for that frequency on the virtualhosts.xml file e.g. </p><p> </p><p> <virtualhosts></p><p> <default>test</default> </p><p> <virtualhost> </p><p> <name>test</name> </p><p> <test> </p><p> <slow-consumer-detection> </p><p> <delay>60<delay/> </p><p> <timeunit>seconds<timeunit/> </p><p> <slow-consumer-detection/> </p><p> </test> </p><p> </virtualhost> </p><p>
+ correctly. </p></div><div class="section" title="2.11.3. Frequency of SCD Checking"><div class="titlepage"><div><div><h3 class="title"><a name="id2643114"></a>2.11.3. Frequency of SCD Checking</h3></div></div></div><div class="section" title="2.11.3.1. Configuring Frequency"><div class="titlepage"><div><div><h4 class="title"><a name="id2613904"></a>2.11.3.1. <span class="bold"><strong>Configuring Frequency</strong></span></h4></div></div></div><p>You can configure the frequency with which the SCD process will check for slow consumers,
+ along with the unit of time used to specify that frequency. </p><p>The <span class="italic">virtualhosts.virtualhost.hostname.slow-consumer-detection</span>
+ elements <span class="italic">delay</span> and <span class="italic">timeunit</span>
+ are used to specify the frequency and timeunit respectively in the virtualhosts.xml
+ file e.g. </p><pre class="programlisting">
+<virtualhosts>
+ <default>test</default>
+ <virtualhost>
+ <name>test</name>
+ <test>
+ <slow-consumer-detection>
+ <delay>60<delay/>
+ <timeunit>seconds<timeunit/>
+ <slow-consumer-detection/>
+ </test>
+ </virtualhost>
</virtualhosts>
- </p><p>
-
- </p></div><div class="section" title="2.11.3.2. SCD Log output"><div class="titlepage"><div><div><h4 class="title"><a name="id2983064"></a>2.11.3.2. <span class="bold"><strong>SCD Log output</strong></span></h4></div></div></div><p>
-
- </p><p>
-When the SCD component finds a queue with a configured threshold to check, the operational logging component (if enabled) will log:
- </p><p>
-SCD-1003 : Checking Status of Queue
- </p><p>
-
- </p></div></div><div class="section" title="2.11.4. Client Exceptions"><div class="titlepage"><div><div><h3 class="title"><a name="id2974019"></a>2.11.4. Client Exception<span class="bold"><strong>s</strong></span></h3></div></div></div><p>When a Slow Consumer is disconnected, the client receives a 506 error from the broker
- wrapped in a JMSException and the Session and Connection are closed:</p><p> </p><p>
-Dispatcher-Channel-1 2010-09-01 16:23:34,206 INFO [qpid.client.AMQSession.Dispatcher] Dispatcher-Channel-1 thread terminating for channel 1:org.apache.qpid.client.AMQSession_0_8@1de8aa8
- </p><p>
+</pre></div><div class="section" title="2.11.3.2. SCD Log output"><div class="titlepage"><div><div><h4 class="title"><a name="id2598751"></a>2.11.3.2. <span class="bold"><strong>SCD Log output</strong></span></h4></div></div></div><p>When the SCD component finds a queue with a configured threshold to check, the operational
+ logging component (if enabled) will output the following line:</p><pre class="programlisting">
+ SCD-1003 : Checking Status of Queue
+ </pre></div></div><div class="section" title="2.11.4. Client Exceptions"><div class="titlepage"><div><div><h3 class="title"><a name="id2634118"></a>2.11.4. Client Exception<span class="bold"><strong>s</strong></span></h3></div></div></div><p>When a Slow Consumer is disconnected, the client receives a 506 error from the broker
+ wrapped in a JMSException and the Session and Connection are closed:</p><pre class="programlisting">
+Dispatcher-Channel-1 2010-09-01 16:23:34,206 INFO [qpid.client.AMQSession.Dispatcher]
+ Dispatcher-Channel-1 thread terminating for channel 1:org.apache.qpid.client.AMQSession_0_8@1de8aa8
pool-2-thread-3 2010-09-01 16:23:34,238 INFO [apache.qpid.client.AMQConnection] Closing AMQConnection due to
- </p><p>
-:org.apache.qpid.AMQChannelClosedException: Error: Consuming to slow. /[error code 506: resource error/]
- </p><p>
+ :org.apache.qpid.AMQChannelClosedException: Error: Consuming to slow. [error code 506: resource error]
javax.jms.JMSException: 506
- </p><p>
- at org.apache.qpid.client.AMQConnection.exceptionReceived(AMQConnection.java:1396)
- </p><p>
- at org.apache.qpid.client.protocol.AMQProtocolHandler.exception(AMQProtocolHandler.java:329)
- </p><p>
- at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:536)
- </p><p>
- at org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:453)
- </p><p>
- at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:93)
- </p><p>
- at org.apache.qpid.client.protocol.AMQProtocolHandler$1.run(AMQProtocolHandler.java:462)
- </p><p>
- at org.apache.qpid.pool.Job.processAll(Job.java:110)
- </p><p>
- at org.apache.qpid.pool.Job.run(Job.java:149)
- </p><p>
- at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
- </p><p>
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
- </p><p>
- at java.lang.Thread.run(Thread.java:619)
- </p><p>
-Caused by: org.apache.qpid.AMQChannelClosedException: Error: Consuming to slow. /[error code 506: resource error/]
- </p><p>
- at org.apache.qpid.client.handler.ChannelCloseMethodHandler.methodReceived(ChannelCloseMethodHandler.java:96)
- </p><p>
- at org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchChannelClose(ClientMethodDispatcherImpl.java:163)
- </p><p>
- at org.apache.qpid.framing.amqp_8_0.ChannelCloseBodyImpl.execute(ChannelCloseBodyImpl.java:140)
- </p><p>
- at org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:112)
- </p><p>
- at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:511)
- </p><p>
- ... 8 more
- </p><p>
-main 2010-09-01 16:23:34,316 INFO /[apache.qpid.client.AMQSession/] Closing session: org.apache.qpid.client.AMQSession_0_8@ffeef1
- </p><p>
-
- </p></div><div class="section" title="2.11.5. Disconnection Thresholds"><div class="titlepage"><div><div><h3 class="title"><a name="id3017482"></a>2.11.5. Disconnection Thresholds</h3></div></div></div><p>
-
- </p><div class="section" title="2.11.5.1. Topic Subscriptions"><div class="titlepage"><div><div><h4 class="title"><a name="id2980972"></a>2.11.5.1. Topic Subscriptions</h4></div></div></div><p>One key feature of SCD is the disconnection of a consuming client when a specified
+at org.apache.qpid.client.AMQConnection.exceptionReceived(AMQConnection.java:1396)
+at org.apache.qpid.client.protocol.AMQProtocolHandler.exception(AMQProtocolHandler.java:329)
+at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:536)
+at org.apache.qpid.client.protocol.AMQProtocolSession.methodFrameReceived(AMQProtocolSession.java:453)
+at org.apache.qpid.framing.AMQMethodBodyImpl.handle(AMQMethodBodyImpl.java:93)
+at org.apache.qpid.client.protocol.AMQProtocolHandler$1.run(AMQProtocolHandler.java:462)
+at org.apache.qpid.pool.Job.processAll(Job.java:110)
+at org.apache.qpid.pool.Job.run(Job.java:149)
+at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
+at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
+at java.lang.Thread.run(Thread.java:619)
+Caused by: org.apache.qpid.AMQChannelClosedException: Error: Consuming to slow. [error code 506: resource error]
+at org.apache.qpid.client.handler.ChannelCloseMethodHandler.methodReceived(ChannelCloseMethodHandler.java:96)
+at org.apache.qpid.client.handler.ClientMethodDispatcherImpl.dispatchChannelClose(ClientMethodDispatcherImpl.java:163)
+at org.apache.qpid.framing.amqp_8_0.ChannelCloseBodyImpl.execute(ChannelCloseBodyImpl.java:140)
+at org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateManager.java:112)
+at org.apache.qpid.client.protocol.AMQProtocolHandler.methodBodyReceived(AMQProtocolHandler.java:511)
+... 8 more
+main 2010-09-01 16:23:34,316 INFO [apache.qpid.client.AMQSession] Closing session:
+ org.apache.qpid.client.AMQSession_0_8@ffeef1
+</pre></div><div class="section" title="2.11.5. Disconnection Thresholds"><div class="titlepage"><div><div><h3 class="title"><a name="id2630213"></a>2.11.5. Disconnection Thresholds</h3></div></div></div><div class="section" title="2.11.5.1. Topic Subscriptions"><div class="titlepage"><div><div><h4 class="title"><a name="id2628419"></a>2.11.5.1. Topic Subscriptions</h4></div></div></div><p>One key feature of SCD is the disconnection of a consuming client when a specified
threshold is exceeded. For a pub-sub model using topics, this means that messages will no
longer be delivered to the private queue which was associated with that consuming client,
- thus reducing any associated backlog in the broker. </p><p>
-
- </p></div><div class="section" title="2.11.5.2. Durable Topic Subscriptions"><div class="titlepage"><div><div><h4 class="title"><a name="id2980981"></a>2.11.5.2. Durable Topic Subscriptions</h4></div></div></div><p>For durable subscriptions, simply disconnecting the consuming client will not suffice
+ thus reducing any associated backlog in the broker. </p></div><div class="section" title="2.11.5.2. Durable Topic Subscriptions"><div class="titlepage"><div><div><h4 class="title"><a name="id2600673"></a>2.11.5.2. Durable Topic Subscriptions</h4></div></div></div><p>For durable subscriptions, simply disconnecting the consuming client will not suffice
since the associated queue is by definition durable and messages would continue to flow to
it after disconnection, potentially worsening any backing up of data on the broker. </p><p>The solution is to configure durable subscriptions to delete the underlying queue on
disconnection. This means that messages will no longer be delivered to the private queue
- associated with the subscription, thus preventing any backlog. </p><p>Full details of how to configure the thresholds are provided below. </p><p>
-
- </p></div><div class="section" title="2.11.5.3. Message Age Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id2974401"></a>2.11.5.3. Message Age Threshold</h4></div></div></div><p>You can configure SCD to be triggered on a topic or subscription when the oldest message
+ associated with the subscription, thus preventing any backlog. </p><p>Full details of how to configure the thresholds are provided below. </p></div><div class="section" title="2.11.5.3. Message Age Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id2618670"></a>2.11.5.3. Message Age Threshold</h4></div></div></div><p>You can configure SCD to be triggered on a topic or subscription when the oldest message
in the associated private queue for the consumer ages beyond the specified value, in
- milliseconds. </p></div><div class="section" title="2.11.5.4. Queue Depth Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id3013649"></a>2.11.5.4. Queue Depth Threshold</h4></div></div></div><p>You can opt to use the depth of the queue in bytes as a threshold. SCD will be triggered
+ milliseconds. </p></div><div class="section" title="2.11.5.4. Queue Depth Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id2613594"></a>2.11.5.4. Queue Depth Threshold</h4></div></div></div><p>You can opt to use the depth of the queue in bytes as a threshold. SCD will be triggered
by a queue depth greater than the threshold specified i.e. when a broker receives a
- message that takes the queue depth over the threshold. </p><p>
-
- </p></div><div class="section" title="2.11.5.5. Message Count Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id2997963"></a>2.11.5.5. Message Count Threshold</h4></div></div></div><p>You can use the message count for the consumer's queue as the trigger, where a count
- higher than that specified will trigger disconnection. </p><p>
-
- </p></div><div class="section" title="2.11.5.6. Delete Policy"><div class="titlepage"><div><div><h4 class="title"><a name="id3010978"></a>2.11.5.6. <span class="bold"><strong>Delete Policy</strong></span></h4></div></div></div><p>You can configure the policy you wish to apply in your broker configuration. There are
+ message that takes the queue depth over the threshold. </p></div><div class="section" title="2.11.5.5. Message Count Threshold"><div class="titlepage"><div><div><h4 class="title"><a name="id2624437"></a>2.11.5.5. Message Count Threshold</h4></div></div></div><p>You can use the message count for the consumer's queue as the trigger, where a count
+ higher than that specified will trigger disconnection. </p></div><div class="section" title="2.11.5.6. Delete Policy"><div class="titlepage"><div><div><h4 class="title"><a name="id2598962"></a>2.11.5.6. <span class="bold"><strong>Delete Policy</strong></span></h4></div></div></div><p>You can configure the policy you wish to apply in your broker configuration. There are
currently 2 policies available: </p><p>
<span class="bold"><strong>Delete Temporary Queues Only</strong></span>
- </p><p>If you do not specify a topicDelete element in your configuration, then only temporary
- queues associated with a topic subscription will be delete on client disconnect. This is
+ </p><p>If you do not specify a <topicDelete/> element in your configuration, then only temporary
+ queues associated with a topic subscription will be deleted on client disconnect. This is
the default behaviour. </p><p></p><p>
<span class="bold"><strong>Delete Durable Subscription Queues</strong></span>
</p><p>If you add the <topicDelete/> element with the sub-element
@@ -133,32 +84,32 @@ main 2010-09-01 16:23:34,316 INFO /[apac
threshold configured, potentially having an adverse effect on the application or broker in
use.</p><p></p><p><span class="bold"><strong> Example Topic Configuration </strong></span></p><p></p><p>
The following steps are required to configure SCD:
- </p><p>
-- enable SCD checking for your virtual host
- </p><p>
-- specify frequency for SCD checking
- </p><p>
-- define thresholds for the topic
- </p><p>
-- define the policy to apply on trigger
- </p><p>The example below shows a simple definition, with all three thresholds specified and a
+ </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Enable SCD checking for your virtual host</p></li><li class="listitem"><p>Specify frequency for SCD checking</p></li><li class="listitem"><p>Define thresholds for the topic</p></li><li class="listitem"><p>Define the policy to apply on trigger </p></li></ul></div><p>The example below shows a simple definition, with all three thresholds specified and a
simple disconnection, with deletion of any temporary queue, defined. </p><p>For a durable subscription to this topic, no queue deletion would be applied on disconnect
- - which is likely to be undesirable (see section above). </p><p><topics> </p><p> <topic> </p><p> <name>stocks.us.*</name> </p><p> <slow-consumer-detection> </p><p> <!-- The maximum depth before which the policy will be applied--> </p><p> <depth>4235264</depth> </p><p> <!-- The maximum message age before which the policy will be applied--> </p><p> <messageAge>600000</messageAge> </p><p> <!-- The maximum number of message before which the policy will be
- applied--> </p><p> <messageCount>50</messageCount> </p><p> <!-- Policy Selection --> </p><p> <policy name="TopicDelete"/> </p><p> </slow-consumer-detection> </p><p> </topic> </p><p></topics> </p></div></div><div class="section" title="2.11.6. Important Points To Note"><div class="titlepage"><div><div><h3 class="title"><a name="id3000505"></a>2.11.6. Important Points To Note</h3></div></div></div><p> Client application developers should be educated about how to correctly handle being
+ - which is likely to be undesirable (see section above). </p><pre class="programlisting">
+<topics>
+ <topic>
+ <name>stocks.us.*</name>
+ <slow-consumer-detection>
+ <!-- The maximum depth before which -->
+ <!-- the policy will be applied-->
+ <depth>4235264</depth>
+ <!-- The maximum message age before which -->
+ <!-- the policy will be applied-->
+ <messageAge>600000</messageAge>
+ <!-- The maximum number of message before -->
+ <!-- which the policy will be applied-->
+ <messageCount>50</messageCount>
+ <!-- Policy Selection -->
+ <policy name="TopicDelete"/>
+ </slow-consumer-detection>
+ </topic>
+</topics>
+</pre></div></div><div class="section" title="2.11.6. Important Points To Note"><div class="titlepage"><div><div><h3 class="title"><a name="id2601057"></a>2.11.6. Important Points To Note</h3></div></div></div><p> Client application developers should be educated about how to correctly handle being
disconnected with a 506 error code, to avoid them getting into a thrashing state where they
- continually attempt to connect, fail to consume fast enough and are disconnected again. </p><p>
-
- </p><p>Clients affected by slow consumer disconnect configuration should always use transactions
+ continually attempt to connect, fail to consume fast enough and are disconnected again. </p><p>Clients affected by slow consumer disconnect configuration should always use transactions
where duplicate processing of an incoming message would have adverse affects, since they may
- receive a message more than once if disconnected before acknowledging a message in flight. </p><p>
-
- </p><p>
-
- </p><p>
-
- </p><p>
-
- </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s10.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.10.
+ receive a message more than once if disconnected before acknowledging a message in flight. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch02s10.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">2.10.
Use Priority Queues
</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 3.
Qpid JMX Management Console
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch03.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch03.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch03.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch03.html Wed Dec 8 12:49:52 2010
@@ -10,7 +10,7 @@
The Qpid JMX Management Console is a standalone Eclipse
RCP application that communicates with the broker using
JMX.
- </p><div class="section" title="3.1.1.1. Configuring Management Users"><div class="titlepage"><div><div><h4 class="title"><a name="id2974781"></a>3.1.1.1.
+ </p><div class="section" title="3.1.1.1. Configuring Management Users"><div class="titlepage"><div><div><h4 class="title"><a name="id2624620"></a>3.1.1.1.
Configuring Management Users
</h4></div></div></div><p>
The Qpid Java broker has a single source of users for the system.
@@ -77,7 +77,7 @@
admin=admin
guest=readonly
user=readwrite
-</pre></div></div></div></div><div class="section" title="3.1.1.2. Configuring Qpid JMX Management Console"><div class="titlepage"><div><div><h4 class="title"><a name="id3000382"></a>3.1.1.2.
+</pre></div></div></div></div><div class="section" title="3.1.1.2. Configuring Qpid JMX Management Console"><div class="titlepage"><div><div><h4 class="title"><a name="id2615646"></a>3.1.1.2.
Configuring Qpid JMX Management Console
</h4></div></div></div><div class="section" title="3.1.1.2.1. Configuring Qpid JMX Management Console"><div class="titlepage"><div><div><h5 class="title"><a name="ConfiguringQpidJMXManagementConsole-ConfiguringQpidJMXManagementConsole"></a>3.1.1.2.1.
Configuring Qpid JMX Management Console
@@ -163,7 +163,7 @@ user=readwrite
connections using the Global Dashboards->QPID tree view. To
drill down on individual beans you can right click on the bean.
This will show any available graphs too.
- </p></div></div></div><div class="section" title="3.1.1.3. Management Console Security"><div class="titlepage"><div><div><h4 class="title"><a name="id3003488"></a>3.1.1.3.
+ </p></div></div></div><div class="section" title="3.1.1.3. Management Console Security"><div class="titlepage"><div><div><h4 class="title"><a name="id2630930"></a>3.1.1.3.
Management Console Security
</h4></div></div></div><div class="section" title="3.1.1.3.1. Management Console Security"><div class="titlepage"><div><div><h5 class="title"><a name="ManagementConsoleSecurity-ManagementConsoleSecurity"></a>3.1.1.3.1.
Management
@@ -341,7 +341,7 @@ qpid-server -run:external-classpath=firs
In order to access the management operations via JMX, users must
have an account and have been assigned appropriate access rights.
See <a class="xref" href="">???</a>
- </p></div></div></div><div class="section" title="3.1.1.4. Qpid JMX Management Console FAQ"><div class="titlepage"><div><div><h4 class="title"><a name="id3003428"></a>3.1.1.4.
+ </p></div></div></div><div class="section" title="3.1.1.4. Qpid JMX Management Console FAQ"><div class="titlepage"><div><div><h4 class="title"><a name="id2599953"></a>3.1.1.4.
Qpid JMX Management Console FAQ
</h4></div></div></div><div class="section" title="3.1.1.4.1. Errors"><div class="titlepage"><div><div><h5 class="title"><a name="QpidJMXManagementConsoleFAQ-Errors"></a>3.1.1.4.1.
Errors
@@ -1026,7 +1026,7 @@ qpid-server -run:external-classpath=firs
</p><p>
Double clicking a row in the table will open the MBean of the
associated <span class="emphasis"><em>Default Queue</em></span> if there is one.
- </p></div></div><div class="section" title="3.1.1.6. Qpid Management Features"><div class="titlepage"><div><div><h4 class="title"><a name="id3000073"></a>3.1.1.6.
+ </p></div></div><div class="section" title="3.1.1.6. Qpid Management Features"><div class="titlepage"><div><div><h4 class="title"><a name="id2627464"></a>3.1.1.6.
Qpid Management Features
</h4></div></div></div><p>
<span class="emphasis"><em>Management tool:</em></span> See our <a class="xref" href="">???</a> for
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04.html Wed Dec 8 12:49:52 2010
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Management Tools</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="ch03.html" title="Chapter 3. Qpid JMX Management Console"><link rel="next" href="ch04s02.html" title="4.2. Qpid Java Broker Management CLI"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Management Tools</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch04s02.html">Next</a></td></t
r></table><hr></div><div class="chapter" title="Chapter 4. Management Tools"><div class="titlepage"><div><div><h2 class="title"><a name="QpidJavaBroker-ManagementTools"></a>Chapter 4. Management Tools</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch04.html#id3015972">4.1.
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 4. Management Tools</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="pt01.html" title="Part I. AMQP Messaging Broker (Implemented in Java)"><link rel="prev" href="ch03.html" title="Chapter 3. Qpid JMX Management Console"><link rel="next" href="ch04s02.html" title="4.2. Qpid Java Broker Management CLI"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Management Tools</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><th width="60%" align="center">Part I. AMQP Messaging Broker (Implemented in Java)</th><td width="20%" align="right"> <a accesskey="n" href="ch04s02.html">Next</a></td></t
r></table><hr></div><div class="chapter" title="Chapter 4. Management Tools"><div class="titlepage"><div><div><h2 class="title"><a name="QpidJavaBroker-ManagementTools"></a>Chapter 4. Management Tools</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch04.html#id2611221">4.1.
MessageStore Tool
</a></span></dt><dd><dl><dt><span class="section"><a href="ch04.html#MessageStoreTool-MessageStoreTool">4.1.1.
MessageStore Tool
@@ -7,7 +7,7 @@
</a></span></dt><dd><dl><dt><span class="section"><a href="ch04s02.html#QpidJavaBrokerManagementCLI-HowtobuildApacheQpidCLI">4.2.1.
How to
build Apache Qpid CLI
- </a></span></dt></dl></dd></dl></div><div class="section" title="4.1. MessageStore Tool"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3015972"></a>4.1.
+ </a></span></dt></dl></dd></dl></div><div class="section" title="4.1. MessageStore Tool"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2611221"></a>4.1.
MessageStore Tool
</h2></div></div></div><div class="section" title="4.1.1. MessageStore Tool"><div class="titlepage"><div><div><h3 class="title"><a name="MessageStoreTool-MessageStoreTool"></a>4.1.1.
MessageStore Tool
Modified: qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html
URL: http://svn.apache.org/viewvc/qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html?rev=1043390&r1=1043389&r2=1043390&view=diff
==============================================================================
--- qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html (original)
+++ qpid/site/docs/books/0.8/AMQP-Messaging-Broker-Java-Book/html/ch04s02.html Wed Dec 8 12:49:52 2010
@@ -1,6 +1,6 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>4.2. Qpid Java Broker Management CLI</title><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title=""><link rel="up" href="ch04.html" title="Chapter 4. Management Tools"><link rel="prev" href="ch04.html" title="Chapter 4. Management Tools"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">4.2.
Qpid Java Broker Management CLI
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Management Tools</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="section" title="4.2. Qpid Java Broker Management CLI"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3001507"></a>4.2.
+ </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04.html">Prev</a> </td><th width="60%" align="center">Chapter 4. Management Tools</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="section" title="4.2. Qpid Java Broker Management CLI"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2629614"></a>4.2.
Qpid Java Broker Management CLI
</h2></div></div></div><div class="section" title="4.2.1. How to build Apache Qpid CLI"><div class="titlepage"><div><div><h3 class="title"><a name="QpidJavaBrokerManagementCLI-HowtobuildApacheQpidCLI"></a>4.2.1.
How to
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org