Skip to content

Instantly share code, notes, and snippets.

@stbenjam
Created January 30, 2018 20:40
Show Gist options
  • Save stbenjam/69de58166818b00765318a78932a3bd7 to your computer and use it in GitHub Desktop.
Save stbenjam/69de58166818b00765318a78932a3bd7 to your computer and use it in GitHub Desktop.
qdrouterd.conf for dispatch router 1.0
##
## 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
##
# See the qdrouterd.conf (5) manual page for information about this
# file's format and options.
router {
id: centos7-katello-3-5.zpm.example.com
mode: interior
worker-threads: 2
}
ssl-profile {
name: client
cert-db: /etc/pki/katello/certs/katello-default-ca.crt
cert-file: /etc/pki/katello/qpid_router_client.crt
key-file: /etc/pki/katello/qpid_router_client.key
}
ssl-profile {
name: server
cert-db: /etc/pki/katello/certs/katello-default-ca.crt
cert-file: /etc/pki/katello/qpid_router_server.crt
key-file: /etc/pki/katello/qpid_router_server.key
}
connector {
name: broker
host: localhost
port: 5671
sasl-mechanisms: ANONYMOUS
role: route-container
ssl-profile: client
idle-timeout-seconds: 0
}
linkRoute {
prefix: pulp.
dir: out
connection: broker
}
linkRoute {
prefix: pulp.task
dir: in
connection: broker
}
linkRoute {
prefix: qmf.
dir: in
connection: broker
}
linkRoute {
prefix: qmf.
dir: out
connection: broker
}
listener {
host: 0.0.0.0
port: 5647
sasl-mechanisms: ANONYMOUS
ssl-profile: server
}
listener {
host: 0.0.0.0
port: 5646
sasl-mechanisms: ANONYMOUS
role: inter-router
ssl-profile: server
}
log {
module: DEFAULT
enable: info+
timestamp: true
output: /var/log/qdrouterd/qdrouterd.log
}
address {
prefix: closest
distribution: closest
}
address {
prefix: multicast
distribution: multicast
}
address {
prefix: unicast
distribution: closest
}
address {
prefix: exclusive
distribution: closest
}
address {
prefix: broadcast
distribution: multicast
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment