summaryrefslogtreecommitdiff
path: root/qpid/doc/book/src/java-broker/Java-Broker-Concepts-Virtual-Hosts.xml
blob: bf9367bf153e9601946c8215f54736e39db20e9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="utf-8"?>
<!--

 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.

-->

<section id="Java-Broker-Concepts-Virtual-Hosts">
<title>Virtual Hosts</title>
<para>Broker comprises from one or many <emphasis>Virtual Hosts</emphasis>.
<emphasis>Virtual Host</emphasis> can be defined as a collection of exchanges, message queues and associated objects and
is an independent server domain that share a common authentication, encryption and transport environment.
</para>
<para>
    The following diagram depicts the Virtual Host model:
    <figure>
        <title>Virtual Host Model</title>
        <mediaobject>
          <imageobject>
            <imagedata fileref="images/VirtualHost-Model.png" format="PNG" scalefit="1"/>
          </imageobject>
          <textobject>
            <phrase>Virtual Host Model</phrase>
          </textobject>
        </mediaobject>
    </figure>
</para>
<para>Each <emphasis>Virtual Host</emphasis> has its own <emphasis>Message Store</emphasis>
which is used to store the persistent messages from all <link linkend="Java-Broker-Concepts-Queues">Queues</link>
declared on the <emphasis>Virtual Host</emphasis>.</para>
<para>
    The following message stores are currently supported:
    <itemizedlist>
        <listitem><para><link linkend="Java-Broker-Stores-SQL-Store">JDBC Message Store</link></para></listitem>
        <listitem><para><link linkend="Java-Broker-Stores-Derby-Store">Derby Message Store</link></para></listitem>
        <listitem><para><link linkend="Java-Broker-Stores-BDB-Store">Berkeley DB Message Store</link></para></listitem>
        <listitem><para><link linkend="Java-Broker-Stores-HA-BDB-Store">Berkeley DB HA Message Store</link></para></listitem>
        <listitem><para><link linkend="Java-Broker-Stores-Memory-Store">Memory Message Store</link></para></listitem>
     </itemizedlist>
</para>
<para>Virtual Hosts configuration is covered in <xref linkend="Java-Broker-Virtual-Hosts"/>.</para>
</section>