You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2013/06/07 23:51:52 UTC

svn commit: r1490849 - in /qpid/trunk/qpid/extras/dispatch/etc: ./ qpid-dispatch.conf

Author: tross
Date: Fri Jun  7 21:51:51 2013
New Revision: 1490849

URL: http://svn.apache.org/r1490849
Log:
QPID-4913 - Added the example configuration file.

Added:
    qpid/trunk/qpid/extras/dispatch/etc/
    qpid/trunk/qpid/extras/dispatch/etc/qpid-dispatch.conf

Added: qpid/trunk/qpid/extras/dispatch/etc/qpid-dispatch.conf
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/extras/dispatch/etc/qpid-dispatch.conf?rev=1490849&view=auto
==============================================================================
--- qpid/trunk/qpid/extras/dispatch/etc/qpid-dispatch.conf (added)
+++ qpid/trunk/qpid/extras/dispatch/etc/qpid-dispatch.conf Fri Jun  7 21:51:51 2013
@@ -0,0 +1,132 @@
+##
+## 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
+##
+
+
+##
+## Container section - Configures the general operation of the AMQP container.
+##
+container {
+    ##
+    ## worker-threads - The number of threads that will be created to
+    ## process message traffic and other application work (timers, non-amqp
+    ## file descriptors, etc.)
+    ##
+    ## The number of threads should be a function of the available
+    ## processor cores.  To fully utilize a quad-core system, set the
+    ## number of threads to 4.
+    ##
+    worker-threads: 1
+
+    ##
+    ## container-name - The name of the AMQP container.  If not specified,
+    ## the container name will be set to a value of the container's
+    ## choosing.  The automatically assigned container name is not
+    ## guaranteed to be persistent across restarts of the container.
+    ##
+    container-name: Qpid.Dispatch.Router.A
+}
+
+##
+## Router section - Configure the AMQP router function.
+##
+router {
+    ##
+    ## area and router-id - Each router is assigned an area name and a
+    ## router-id that is unique within the area.
+    ##
+    area: all
+    router-id: Router.A
+
+    ##
+    ## hello-interval - The interval, in seconds, between HELLO messages
+    ## sent between connected routers.  This interval can be relatively
+    ## fast because HELLO messages do not propagate beyond one hop on the
+    ## network.  A good value is 1 second.
+    ##
+    hello-interval: 1
+
+    ##
+    ## hello-max-age - The maximum time, in seconds, that can elapse
+    ## without receiving a HELLO message from a neighbor before that
+    ## neighbor is declared absent.  A good value is 3 seconds.
+    ##
+    hello-max-age: 3
+
+    ##
+    ## ra-interval - The interval, in seconds, between RA (Router
+    ## Advertisement) messages sent by this router.  This interval should
+    ## be considerably longer than the hello interval because RA messages
+    ## propagate across the area.  A good value is 30 seconds.
+    ##
+    ra-interval: 30
+
+    ##
+    ## remote-ls-max-age - The maximum age, in seconds, of a remote
+    ## link-state record.  Any such records that are not updated and time
+    ## out shall be removed from the set and the topology shall be
+    ## recomputed.  A good value is 60 seconds.
+    ##
+    remote-ls-max-age: 60
+
+    ##
+    ## mobile-addr-max-age - The maximum age, in seconds, of a remote
+    ## mobile address record.  Any record that exceeds this age shall be
+    ## removed from the routing table.  A good value is 60 seconds.
+    ##
+    mobile-addr-max-age: 60
+}
+
+ssl-profile {
+    name: ssl-link
+    trusted-cert-db: /opt/dispatch/x.509/cert.db
+    cert-file: /opt/dispatch/x.509/router-cert.pem
+    key-file: /opt/dispatch/x.509/router-key.pem
+    password-file: /opt/dispatch/x.509/router-key.pass
+}
+
+
+##
+## Listeners and Connectors
+##
+listener {
+    addr: 0.0.0.0
+    port: 5672
+    sasl-mechanisms: ANONYMOUS
+}
+
+listener {
+    label: Router Interconnect Access
+    addr: 0.0.0.0
+    port: 5671
+    sasl-mechanisms: EXTERNAL
+    ssl-profile: ssl-link
+    require-peer-auth: yes
+    allow-unsecured: no
+}
+
+connector {
+    label: Router Uplink
+    host: backbone.enterprise.com
+    port: 5671
+    sasl-mechanisms: EXTERNAL
+    ssl-profile: ssl-link
+    allow-redirect: no
+}
+
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org