You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ea...@apache.org on 2016/09/19 17:53:58 UTC
qpid-dispatch git commit: DISPATCH-515 Added example config file to
automatically start websockets proxy
Repository: qpid-dispatch
Updated Branches:
refs/heads/master eeffa2a1f -> 39b349a36
DISPATCH-515 Added example config file to automatically start websockets proxy
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/39b349a3
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/39b349a3
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/39b349a3
Branch: refs/heads/master
Commit: 39b349a3633ab168eafaf16bcd9666cc7af22d82
Parents: eeffa2a
Author: Ernest Allen <ea...@redhat.com>
Authored: Mon Sep 19 13:53:42 2016 -0400
Committer: Ernest Allen <ea...@redhat.com>
Committed: Mon Sep 19 13:53:42 2016 -0400
----------------------------------------------------------------------
tests/config-console/A.conf | 75 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 75 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/39b349a3/tests/config-console/A.conf
----------------------------------------------------------------------
diff --git a/tests/config-console/A.conf b/tests/config-console/A.conf
new file mode 100644
index 0000000..2727ef5
--- /dev/null
+++ b/tests/config-console/A.conf
@@ -0,0 +1,75 @@
+##
+## 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
+##
+
+
+router {
+ mode: standalone
+ id: QDR
+}
+
+
+##
+## Listeners and Connectors
+##
+listener {
+ host: 0.0.0.0
+ port: 20000
+ saslMechanisms: ANONYMOUS
+}
+
+fixedAddress {
+ prefix: /closest/
+ fanout: single
+ bias: closest
+}
+
+fixedAddress {
+ prefix: /spread/
+ fanout: single
+ bias: spread
+}
+
+fixedAddress {
+ prefix: /multicast/
+ fanout: multiple
+}
+
+fixedAddress {
+ prefix: /
+ fanout: multiple
+}
+
+listener {
+ name: ProxyListener
+ role: normal
+ host: 0.0.0.0
+ port: 20001
+ saslMechanisms: ANONYMOUS
+}
+
+## Start a websockets proxy with the router
+## This assumes you have done:
+## sudo npm install --global websockify
+console {
+ listener: ProxyListener
+ proxy: websockify
+ args: 5673 $host:$port
+# args: [--cert cert.pem [--key key.pem]] [source_addr:]source_port target_addr:target_port
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org