http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Declare-Queues.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Declare-Queues.html b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Declare-Queues.html new file mode 100644 index 0000000..d2d39f0 --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Declare-Queues.html @@ -0,0 +1,206 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>14.9. Configuring Queues - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Java broker</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-0.26/index.html">Qpid 0.26</a></li><li><a href="/releases/qpid-0.26/java-broker/book/index.html">AMQP Messaging Broker (Java)</a></li><li>14.9. Configuring Queues</li></ul> + + <div id="-middle-content"> + <div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">14.9. Configuring Queues</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="Java-Broker-Virtual-Host-Configuration-Exchange.html">Prev</a> </td><th align="center" width="60%">Chapter 14. Virtual Host XML configuration file</th><td align="right" width="20%"> <a accesskey="n" href="Java-Broker-Virtual-Host-Binding-Queue.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a id="Java-Broker-Virtual-Host-Declare-Queues"></a>14.9. Configuring Queues</h2></div></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"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Simple"></a>14.9.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 id="idm140218887110816"></a><p class="title"><strong>Example 14.7. Configuring a simple queue</strong></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"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Priority"></a>14.9.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 id="idm140218887107328"></a><p class="title"><strong>Example 14.8. Configuring a priority queue</strong></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 id="idm140218887104400"></a><p class="title"><strong>Example 14.9. Configuring a priority queue with fewer priorities</strong></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"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Queues-OtherTypes-CreateUsingConfig-Sorted"></a>14.9.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 id="idm140218886396848"></a><p class="title"><strong>Example 14.10. Configuring a sorted queue</strong></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"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Queues-OtherTypes-CreateUsingConfig-LVQ"></a>14.9.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 id="idm140218886391936"></a><p class="title"><strong>Example 14.11. Configuring a LVQ queue</strong></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 id="idm140218886389616"></a><p class="title"><strong>Example 14.12. Configuring a LVQ queue with custom message property name</strong></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 class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Java-Broker-Virtual-Host-Configuring-Queue-With-Arguments"></a>14.9.5. Configuring queue with arguments</h3></div></div></div><p>Queue arguments can be configured in virtual host configuration file. + An element <span class="emphasis"><em>argument</em></span> is used to specify a queue argument as a name-value pair separated with equal character. + Any number of queue arguments can be provided for a queue in their own <span class="emphasis"><em>argument</em></span> elements.</p><p>The following example demonstrates how to configure queue with two arguments.</p><div class="example"><a id="idm140218886384640"></a><p class="title"><strong>Example 14.13. Setting arbitrary queue arguments</strong></p><div class="example-contents"><pre class="programlisting"> +<queue> + <name>myQueue</name> + <myQueue> + <argument>qpid.group_header_key=JMSXgroupID</argument> + <argument>qpid.shared_msg_group=1</argument> + </myQueue> +</queue></pre></div></div><br class="example-break" /></div></div><div class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="Java-Broker-Virtual-Host-Configuration-Exchange.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="Java-Broker-Virtual-Host-Binding-Queue.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">14.8. Configuring Exchanges </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td align="right" valign="top" width="40%"> 14.10. Queue Binding</td></tr></table></div></div> + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</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> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html>
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html new file mode 100644 index 0000000..2b92140 --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html @@ -0,0 +1,162 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>14.13. Configuring Transaction Timeouts - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Java broker</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-0.26/index.html">Qpid 0.26</a></li><li><a href="/releases/qpid-0.26/java-broker/book/index.html">AMQP Messaging Broker (Java)</a></li><li>14.13. Configuring Transaction Timeouts</li></ul> + + <div id="-middle-content"> + <div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">14.13. Configuring Transaction Timeouts</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html">Prev</a> </td><th align="center" width="60%">Chapter 14. Virtual Host XML configuration file</th><td align="right" width="20%"> <a accesskey="n" href="Java-Broker-Virtual-Host-Configuring-DLQ.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a id="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring"></a>14.13. 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 class="itemizedlist" type="disc"><li class="listitem"><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 class="listitem"><p>openClose - the time a transaction can be open for before the connection it is on is + closed.</p></li><li class="listitem"><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 class="listitem"><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 id="idm140218886602464"></a><p class="title"><strong>Example 14.18. Configuring producer transaction timeout</strong></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 class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="Java-Broker-Virtual-Host-Configuring-DLQ.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">14.12. Configuring of Disk Quota-based Flow Control </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td align="right" valign="top" width="40%"> 14.14. Configuring DLQs/Maximum Delivery Count</td></tr></table></div></div> + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</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> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html new file mode 100644 index 0000000..3de1423 --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File-ACL.html @@ -0,0 +1,161 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>14.2. Configuring ACL - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Java broker</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-0.26/index.html">Qpid 0.26</a></li><li><a href="/releases/qpid-0.26/java-broker/book/index.html">AMQP Messaging Broker (Java)</a></li><li>14.2. Configuring ACL</li></ul> + + <div id="-middle-content"> + <div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">14.2. Configuring ACL</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="Java-Broker-Virtual-Hosts-Configuration-File.html">Prev</a> </td><th align="center" width="60%">Chapter 14. Virtual Host XML configuration file</th><td align="right" width="20%"> <a accesskey="n" href="Java-Broker-Stores-Memory-Store-Configuration.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a id="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 id="Java-Broker-Virtual-Hosts-Configuration-Security-ACL-1"></a>(1) + ... + <acl><em class="replaceable"><code>${conf}/vhost_test.acl</code></em></acl> <a id="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 align="left" valign="top" width="5%"><p><a href="#Java-Broker-Virtual-Hosts-Configuration-Security-ACL-1">(1)</a> </p></td><td align="left" valign="top"><p>A security section of configuration is used to declare the ACL</p></td></tr><tr><td align="left" valign="top" width="5%"><p><a href="#Java-Broker-Virtual-Hosts-Configuration-Security-ACL-2">(2)</a> </p></td><td align="left" valign="top"><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 class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="Java-Broker-Virtual-Hosts-Configuration-File.html">Prev</a> </td><td align="center" width="20%"><a accesskey="u" href="Java-Broker-Virtual-Hosts-Configuration-File.html">Up</a></td><td align="right" width="40%"> <a accesskey="n" href="Java-Broker-Stores-Memory-Store-Configuration.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">Chapter 14. Virtual Host XML configuration file </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td align="right" valign="top" width="40%"> 14.3. Configuring MemoryMessageStore</td></tr></table></div></div> + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</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> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File.html b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File.html new file mode 100644 index 0000000..be9b85a --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts-Configuration-File.html @@ -0,0 +1,154 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>Chapter 14. Virtual Host XML configuration file - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Java broker</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-0.26/index.html">Qpid 0.26</a></li><li><a href="/releases/qpid-0.26/java-broker/book/index.html">AMQP Messaging Broker (Java)</a></li><li>Chapter 14. Virtual Host XML configuration file</li></ul> + + <div id="-middle-content"> + <div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Chapter 14. Virtual Host XML configuration file</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="Java-Broker-High-Availability-Performance.html">Prev</a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="Java-Broker-Virtual-Hosts-Configuration-File-ACL.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="Java-Broker-Virtual-Hosts-Configuration-File"></a>Chapter 14. Virtual Host XML configuration file</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="section"><a href="Java-Broker-Virtual-Hosts-Configuration-File.html#Java-Broker-Virtual-Hosts-Configuration-File-Introduction">14.1. Introduction</a></span></dt><dt><span class ="section"><a href="Java-Broker-Virtual-Hosts-Configuration-File-ACL.html">14.2. Configuring ACL</a></span></dt><dt><span class="section"><a href="Java-Broker-Stores-Memory-Store-Configuration.html">14.3. Configuring MemoryMessageStore</a></span></dt><dt><span class="section"><a href="Java-Broker-Stores-BDB-Store-Configuration.html">14.4. Configuring BDBMessageStore</a></span></dt><dd><dl><dt><span class="section"><a href="Java-Broker-Stores-BDB-Store-Configuration.html#Java-Broker-Stores-BDB-Store-Configuration_BDBEnvVars">14.4.1. Passing BDB environment configuration options</a></span></dt></dl></dd><dt><span class="section"><a href="Java-Broker-Stores-BDBHA-Store-Configuration.html">14.5. Configuring BDBHAMessageStore</a></span></dt><dt><span class="section"><a href="Java-Broker-Stores-Derby-Store-Configuration.html">14.6. Configuring DerbyMessageStore</a></span></dt><dt><span class="section"><a href="Java-Broker-Stores-JDBC-Store-Configuration.html">14.7. Configuring JDBCMessage Store</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Configuration-Exchange.html">14.8. Configuring Exchanges</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Declare-Queues.html">14.9. Configuring Queues</a></span></dt><dd><dl><dt><span class="section"><a href="Java-Broker-Virtual-Host-Declare-Queues.html#Java-Broker-Queues-OtherTypes-CreateUsingConfig-Simple">14.9.1. Simple</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Declare-Queues.html#Java-Broker-Queues-OtherTypes-CreateUsingConfig-Priority">14.9.2. Priority</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Declare-Queues.html#Java-Broker-Queues-OtherTypes-CreateUsingConfig-Sorted">14.9.3. Sorted</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Declare-Queues.html#Java-Broker-Queues-OtherTypes-CreateUsingConfig-LVQ">14.9.4. LVQ</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtua l-Host-Declare-Queues.html#Java-Broker-Virtual-Host-Configuring-Queue-With-Arguments">14.9.5. Configuring queue with arguments</a></span></dt></dl></dd><dt><span class="section"><a href="Java-Broker-Virtual-Host-Binding-Queue.html">14.10. Queue Binding</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Configure-Flow-Control.html">14.11. Configuring of Producer Flow Control</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Configure-Disk-Quotas.html">14.12. Configuring of Disk Quota-based Flow Control</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Transaction-Timeout-Configuring.html">14.13. Configuring Transaction Timeouts</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Configuring-DLQ.html">14.14. Configuring DLQs/Maximum Delivery Count</a></span></dt><dt><span class="section"><a href="Java-Broker-Virtual-Host-Configuration-File-Example.html">14.15. An example of virtual host co nfiguration file</a></span></dt></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a id="Java-Broker-Virtual-Hosts-Configuration-File-Introduction"></a>14.1. Introduction</h2></div></div></div><p> + This chapter describes how to configure Virtual Hosts using an XML file. + </p><p> + This is no longer the preferred approach for + <a class="link" href="Java-Broker-Virtual-Hosts.html#Java-Broker-Virtual-Hosts-Configuring-Managing" title="7.1. Configuring And Managing">defining a VirtualHost</a> and will likely be removed + in a future release, however it is currently neccessary to support certain use cases such as per-virtualhost attribute + configuration, and specialised store configuration such as for the <a class="link" href="Java-Broker-Stores-HA-BDB-Store.html" title="10.5. High Availability BDB Message Store">BDB HA Message Store</a> + </p><p> + Each XML Virtual Host configuration file can hold configuration for a single Virtual Host or multiple Virtual Hosts. + For an example file (with multiple VirtualHosts), see <a class="xref" href="Java-Broker-Virtual-Host-Configuration-File-Example.html" title="14.15. An example of virtual host configuration file">Section 14.15, “An example of virtual host configuration file”</a> + </p></div></div><div class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="Java-Broker-High-Availability-Performance.html">Prev</a> </td><td align="center" width="20%"> </td><td align="right" width="40%"> <a accesskey="n" href="Java-Broker-Virtual-Hosts-Configuration-File-ACL.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">13.16. Performance </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td align="right" valign="top" width="40%"> 14.2. Configuring ACL</td></tr></table></div></div> + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</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> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts.html ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts.html b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts.html new file mode 100644 index 0000000..7be07bd --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/Java-Broker-Virtual-Hosts.html @@ -0,0 +1,164 @@ +<!DOCTYPE html> +<!-- + - + - Licensed to the Apache Software Foundation (ASF) under one + - or more contributor license agreements. See the NOTICE file + - distributed with this work for additional information + - regarding copyright ownership. The ASF licenses this file + - to you under the Apache License, Version 2.0 (the + - "License"); you may not use this file except in compliance + - with the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, + - software distributed under the License is distributed on an + - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + - KIND, either express or implied. See the License for the + - specific language governing permissions and limitations + - under the License. + - +--> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> + <head> + <title>Chapter 7. Virtual Hosts - Apache Qpid™</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <link rel="stylesheet" href="/site.css" type="text/css" async="async"/> + <link rel="stylesheet" href="/deferred.css" type="text/css" defer="defer"/> + <script type="text/javascript">var _deferredFunctions = [];</script> + <script type="text/javascript" src="/deferred.js" defer="defer"></script> + <!--[if lte IE 8]> + <link rel="stylesheet" href="/ie.css" type="text/css"/> + <script type="text/javascript" src="/html5shiv.js"></script> + <![endif]--> + + <!-- Redirects for `go get` and godoc.org --> + <meta name="go-import" + content="qpid.apache.org git https://git-wip-us.apache.org/repos/asf/qpid-proton.git"/> + <meta name="go-source" + content="qpid.apache.org +https://github.com/apache/qpid-proton/blob/go1/README.md +https://github.com/apache/qpid-proton/tree/go1{/dir} +https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> + </head> + <body> + <div id="-content"> + <div id="-top" class="panel"> + <a id="-menu-link"><img width="16" height="16" src="" alt="Menu"/></a> + + <a id="-search-link"><img width="22" height="16" src="" alt="Search"/></a> + + <ul id="-global-navigation"> + <li><a id="-logotype" href="/index.html">Apache Qpid<sup>™</sup></a></li> + <li><a href="/documentation.html">Documentation</a></li> + <li><a href="/download.html">Download</a></li> + <li><a href="/discussion.html">Discussion</a></li> + </ul> + </div> + + <div id="-menu" class="panel" style="display: none;"> + <div class="flex"> + <section> + <h3>Project</h3> + + <ul> + <li><a href="/overview.html">Overview</a></li> + <li><a href="/components/index.html">Components</a></li> + <li><a href="/releases/index.html">Releases</a></li> + </ul> + </section> + + <section> + <h3>Messaging APIs</h3> + + <ul> + <li><a href="/proton/index.html">Qpid Proton</a></li> + <li><a href="/components/jms/index.html">Qpid JMS</a></li> + <li><a href="/components/messaging-api/index.html">Qpid Messaging API</a></li> + </ul> + </section> + + <section> + <h3>Servers and tools</h3> + + <ul> + <li><a href="/components/java-broker/index.html">Java broker</a></li> + <li><a href="/components/cpp-broker/index.html">C++ broker</a></li> + <li><a href="/components/dispatch-router/index.html">Dispatch router</a></li> + </ul> + </section> + + <section> + <h3>Resources</h3> + + <ul> + <li><a href="/dashboard.html">Dashboard</a></li> + <li><a href="https://cwiki.apache.org/confluence/display/qpid/Index">Wiki</a></li> + <li><a href="/resources.html">More resources</a></li> + </ul> + </section> + </div> + </div> + + <div id="-search" class="panel" style="display: none;"> + <form action="http://www.google.com/search" method="get"> + <input type="hidden" name="sitesearch" value="qpid.apache.org"/> + <input type="text" name="q" maxlength="255" autofocus="autofocus" tabindex="1"/> + <button type="submit">Search</button> + <a href="/search.html">More ways to search</a> + </form> + </div> + + <div id="-middle" class="panel"> + <ul id="-path-navigation"><li><a href="/index.html">Home</a></li><li><a href="/releases/index.html">Releases</a></li><li><a href="/releases/qpid-0.26/index.html">Qpid 0.26</a></li><li><a href="/releases/qpid-0.26/java-broker/book/index.html">AMQP Messaging Broker (Java)</a></li><li>Chapter 7. Virtual Hosts</li></ul> + + <div id="-middle-content"> + <div class="docbook"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Chapter 7. Virtual Hosts</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="Java-Broker-Ports.html">Prev</a> </td><th align="center" width="60%"> </th><td align="right" width="20%"> <a accesskey="n" href="Java-Broker-Exchanges.html">Next</a></td></tr></table><hr /></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a id="Java-Broker-Virtual-Hosts"></a>Chapter 7. Virtual Hosts</h1></div></div></div><div class="toc"><p><strong>Table of Contents</strong></p><dl class="toc"><dt><span class="section"><a href="Java-Broker-Virtual-Hosts.html#Java-Broker-Virtual-Hosts-Configuring-Managing">7.1. Configuring And Managing</a></span></dt></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a id="Java-Broker-Virtual-Hosts-Configuring-Managing"></a>7.1. 0;Configuring And Managing</h2></div></div></div><p> + One or more Virtual Hosts can be configured on the Broker. The + <a class="link" href="Java-Broker-Configuring-And-Managing-HTTP-Management.html#Java-Broker-Configuring-And-Managing-HTTP-Management-Introduction" title="5.2.1. Introduction">HTTP management interfaces</a> + can be used to add and delete Virtual Hosts. + </p><p>A new Virtual Host can be created in two ways: + </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p> + <span class="emphasis"><em>Supplying simply a <a class="link" href="Java-Broker-Stores.html" title="Chapter 10. Virtual Host Message Stores">store type</a> and a store path</em></span>: In this case, + the virtual host attributes are currently derived from default attribute values defined on the broker. This is the preferred approach. + </p></li><li class="listitem"><p> + <span class="emphasis"><em>Supplying the path to a <a class="link" href="Java-Broker-Virtual-Hosts-Configuration-File.html" title="Chapter 14. Virtual Host XML configuration file">Virtual Host XML configuration file</a></em></span>: In this case, specific per-virtualhost attribute configuration + can be set in the file, as well as pre-configuring queues, exchanges, etc. This is no longer the preferred approach and will likely be removed in + a future release, however it is currently still neccessary to support certain use-cases such as per-virtualhost attribute configuration, and + specialised store configuration such as for the <a class="link" href="Java-Broker-Stores-HA-BDB-Store.html" title="10.5. High Availability BDB Message Store">BDB HA Message Store</a>. + </p></li></ul></div><p> + </p><p>The following Virtual Host Managing operations are available from + <a class="link" href="Java-Broker-Configuring-And-Managing-HTTP-Management.html#Java-Broker-Configuring-And-Managing-Web-Console" title="5.2.2. Web Management Console">Web Management Console</a>: + </p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>A new Virtual Host can be added into Broker by pressing "Add Virtual Host" button + on the Broker tab.</p></li><li class="listitem"><p>The existing Virtual Host(s) can be removed by pressing "Remove Virtual Host" button on the Broker tab.</p></li><li class="listitem"><p>The Virtual Host details can be viewed on the Virtual Host tab. + This tab can be displayed after clicking onto Virtual Host Name in the Broker object tree + or onto the Virtual Host row in the Virtual Hosts grid on the Broker tab.</p></li><li class="listitem"><p>Queues can be configured (added/removed) from Virtual Host tab</p></li><li class="listitem"><p>Exchange can be configured (added/removed) from Virtual Host tab</p></li><li class="listitem"><p>Existing Exchange/Queue tabs can be navigated from Virtual Host tab</p></li></ul></div><p> + </p></div></div><div class="navfooter"><hr /><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="Java-Broker-Ports.html">Prev</a> </td><td align="center" width="20%"> </td><td align="right" width="40%"> <a accesskey="n" href="Java-Broker-Exchanges.html">Next</a></td></tr><tr><td align="left" valign="top" width="40%">Chapter 6. Broker Ports </td><td align="center" width="20%"><a accesskey="h" href="index.html">Home</a></td><td align="right" valign="top" width="40%"> Chapter 8. Exchanges</td></tr></table></div></div> + + <hr/> + + <ul id="-apache-navigation"> + <li><a href="http://www.apache.org/">Apache</a></li> + <li><a href="http://www.apache.org/licenses/">License</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> + <li><a href="http://www.apache.org/"><img id="-apache-feather" width="48" height="14" src="" alt="Apache"/></a></li> + </ul> + + <p id="-legal"> + Apache Qpid, Messaging built on AMQP; Copyright © 2015 + The Apache Software Foundation; Licensed under + the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache + License, Version 2.0</a>; Apache Qpid, Qpid, Qpid Proton, + Proton, Apache, the Apache feather logo, and the Apache Qpid + project logo are trademarks of The Apache Software + Foundation; All other marks mentioned may be trademarks or + registered trademarks of their respective owners + </p> + </div> + </div> + </div> + </body> +</html> http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/css/style.css ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/css/style.css b/content/releases/qpid-0.26/java-broker/book/css/style.css new file mode 100644 index 0000000..c681596 --- /dev/null +++ b/content/releases/qpid-0.26/java-broker/book/css/style.css @@ -0,0 +1,279 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +ul { + list-style-type:square; +} + +th { + font-weight: bold; +} + +.navfooter td { + font-size:10pt; +} + +.navheader td { + font-size:10pt; +} + +body { + margin:0; + background:#FFFFFF; + font-family:"Verdana", sans-serif; + font-size:10pt; +} + +.container { + width:950px; + margin:0 auto; +} + +body a { + color:#000000; +} + + +div.book { + margin-left:10pt; + margin-right:10pt; +} + +div.preface { + margin-left:10pt; + margin-right:10pt; +} + +div.chapter { + margin-left:10pt; + margin-right:10pt; +} + +div.section { + margin-left:10pt; + margin-right:10pt; +} + +div.titlepage { + margin-left:-10pt; + margin-right:-10pt; +} + +.calloutlist td { + font-size:10pt; +} + +.table-contents table { + border-spacing: 0px; +} + +.table-contents td { + font-size:10pt; + padding-left:6px; + padding-right:6px; +} + +div.breadcrumbs { + font-size:9pt; + margin-right:10pt; + padding-bottom:16px; +} + +.chapter h2.title { + font-size:20pt; + color:#0c3b82; +} + +.chapter .section h2.title { + font-size:18pt; + color:#0c3b82; +} + +.section h2.title { + font-size:16pt; + color:#0c3b82; +} + +.section h3.title { + font-size:14pt; + color:#0c3b82; +} + +.section h4.title { + font-size:12pt; + color:#0c3b82; +} + +.section h5.title { + font-size:12pt; + color:#0c3b82; +} + +.section h6.title { + font-size:12pt; + color:#0c3b82; +} + +.toc a { + font-size:9pt; +} + +.header { + height:100px; + width:950px; + background:url(http://qpid.apache.org/images/header.png) +} + +.logo { + text-align:center; + font-weight:600; + padding:0 0 0 0; + font-size:14px; + font-family:"Verdana", cursive; +} + +.logo a { + color:#000000; + text-decoration:none; +} + +.main_text_area { + margin-left:200px; +} + +.main_text_area_top { + height:14px; + font-size:1px; +} + +.main_text_area_bottom { + display:none; +/* height:14px; + margin-bottom:4px;*/ +} + +.main_text_area_body { + padding:5px 24px; +} + +.main_text_area_body p { + text-align:justify; +} + +.main_text_area br { + line-height:10px; +} + +.main_text_area h1 { + font-size:28px; + font-weight:600; + margin:0 0 24px 0; + color:#0c3b82; + font-family:"Verdana", Times, serif; +} + +.main_text_area h2 { + font-size:24px; + font-weight:600; + margin:24px 0 8px 0; + color:#0c3b82; + font-family:"Verdana",Times, serif; +} + +.main_text_area ol, .main_text_area ul { + padding:0; + margin:10px 0; + margin-left:20px; +} + +.main_text_area li { +/* margin-left:40px; */ +} + +.main_text_area, .menu_box { + font-size:13px; + line-height:17px; + color:#000000; +} + +.main_text_area { + font-size:14px; +} + +.main_text_area a { + color:#000000; +} + +.main_text_area a:hover { + color:#000000; +} + +.menu_box { + width:196px; + float:left; + margin-left:4px; +} + +.menu_box_top { + background:url(http://qpid.apache.org/images/menu_top.png) no-repeat; + height:14px; + font-size:1px; +} + +.menu_box_body { + background:url(http://qpid.apache.org/images/menu_body.png) repeat-y; + padding:5px 24px 5px 24px; +} + +.menu_box_bottom { + background:url(http://qpid.apache.org/images/menu_bottom.png) no-repeat; + height:14px; + font-size:1px; + margin-bottom:1px; +} + +.menu_box h3 { + font-size:20px; + font-weight:500; + margin:0 0 8px 0; + color:#0c3b82; + font-family:"Verdana",Times, serif; +} + +.menu_box ul { + margin:12px; + padding:0px; +} + +.menu_box li { + list-style:square; +} + +.menu_box a { + color:#000000; + text-decoration:none; +} + +.menu_box a:hover { + color:#000000; + text-decoration:underline; +} + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Broker-Model.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Broker-Model.png b/content/releases/qpid-0.26/java-broker/book/images/Broker-Model.png new file mode 100644 index 0000000..e74f608 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Broker-Model.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Exchange-Direct.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Exchange-Direct.png b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Direct.png new file mode 100644 index 0000000..184fb80 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Direct.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Exchange-Fanout.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Exchange-Fanout.png b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Fanout.png new file mode 100644 index 0000000..1e7f8ca Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Fanout.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-Hierarchical.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-Hierarchical.png b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-Hierarchical.png new file mode 100644 index 0000000..faa7507 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-Hierarchical.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-JMSSelector.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-JMSSelector.png b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-JMSSelector.png new file mode 100644 index 0000000..7272949 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic-JMSSelector.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic.png b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic.png new file mode 100644 index 0000000..f631d73 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Exchange-Topic.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Key.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Key.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Key.png new file mode 100644 index 0000000..3c1856d Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Key.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-MasterFail.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-MasterFail.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-MasterFail.png new file mode 100644 index 0000000..b839d29 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-MasterFail.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-NetworkPartition.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-NetworkPartition.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-NetworkPartition.png new file mode 100644 index 0000000..cd4a196 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-NetworkPartition.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Normal.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Normal.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Normal.png new file mode 100644 index 0000000..eeaad4f Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-Normal.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-ReplicaFail.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-ReplicaFail.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-ReplicaFail.png new file mode 100644 index 0000000..769fc95 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-ReplicaFail.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-2N-SplitBrain.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-2N-SplitBrain.png b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-SplitBrain.png new file mode 100644 index 0000000..7439364 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-2N-SplitBrain.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png b/content/releases/qpid-0.26/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png new file mode 100644 index 0000000..29d5494 Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-BDBHAMessageStore-MBean-jconsole.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/HA-perftests-results.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/HA-perftests-results.png b/content/releases/qpid-0.26/java-broker/book/images/HA-perftests-results.png new file mode 100644 index 0000000..e8dbb3c Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/HA-perftests-results.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/Management-Web-Console.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/Management-Web-Console.png b/content/releases/qpid-0.26/java-broker/book/images/Management-Web-Console.png new file mode 100644 index 0000000..de7344a Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/Management-Web-Console.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/a1891eca/content/releases/qpid-0.26/java-broker/book/images/VirtualHost-Model.png ---------------------------------------------------------------------- diff --git a/content/releases/qpid-0.26/java-broker/book/images/VirtualHost-Model.png b/content/releases/qpid-0.26/java-broker/book/images/VirtualHost-Model.png new file mode 100644 index 0000000..011026b Binary files /dev/null and b/content/releases/qpid-0.26/java-broker/book/images/VirtualHost-Model.png differ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
