diff options
Diffstat (limited to 'extras/dispatch/etc/qpid-dispatch.conf')
-rw-r--r-- | extras/dispatch/etc/qpid-dispatch.conf | 132 |
1 files changed, 132 insertions, 0 deletions
diff --git a/extras/dispatch/etc/qpid-dispatch.conf b/extras/dispatch/etc/qpid-dispatch.conf new file mode 100644 index 0000000000..d9dee9edf4 --- /dev/null +++ b/extras/dispatch/etc/qpid-dispatch.conf @@ -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 +} + + |