C2SIMClientandServer: apollo.xml

File apollo.xml, 3.1 KB (added by nclark1, 11 months ago)

Apollo XML config

Line 
1<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<!--
3  Licensed to the Apache Software Foundation (ASF) under one or more
4  contributor license agreements. See the NOTICE file distributed with
5  this work for additional information regarding copyright ownership.
6  The ASF licenses this file to You under the Apache License, Version
7  2.0 (the "License"); you may not use this file except in compliance
8  with the License. You may obtain a copy of the License at
9  http://www.apache.org/licenses/LICENSE-2.0 Unless required by
10  applicable law or agreed to in writing, software distributed under
11  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
12  OR CONDITIONS OF ANY KIND, either express or implied. See the
13  License for the specific language governing permissions and
14  limitations under the License.
15-->
16
17<!--
18  For more information on how configure this file please
19  reference:
20
21  http://activemq.apache.org/apollo/versions/1.7.1/website/documentation/user-manual.html
22  -->
23<broker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://activemq.apache.org/schema/activemq/apollo ../../../lib/apollo/apache-apollo-1.7.1/docs/site/documentation/schema/apollo.xsd"
25 xmlns="http://activemq.apache.org/schema/activemq/apollo">
26
27  <notes>
28    The default configuration with tls/ssl enabled.  Modified by DSC to disable tls/ssl
29  </notes>
30
31  <log_category console="console" security="security" connection="connection" audit="audit"/>
32
33 
34  <authentication domain="apollo"/>
35  <!-- Give admins full access -->
36  <access_rule allow="admins" action="*"/>
37  <access_rule allow="*" action="connect" kind="connector"/>
38 
39
40  <virtual_host id="bmlStomp">
41    <!--
42      You should add all the host names that this virtual host is known as
43      to properly support the STOMP 1.1 virtual host feature.
44      -->
45    <host_name>bmlStomp</host_name>
46    <host_name>localhost</host_name>
47    <host_name>127.0.0.1</host_name>
48   
49    <!--  No persistence   DSC -->
50    <null_store/>
51   
52    <!-- Uncomment to disable security for the virtual host DSC -->
53    <authentication enabled="false"/>
54
55    <!-- Uncomment to disable security for the virtual host -->
56    <!-- <authentication enabled="false"/> -->
57    <access_rule allow="users" action="connect create destroy send receive consume"/>
58   
59
60    <!-- You can delete this element if you want to disable persistence for this virtual host -->
61    <!--  <leveldb_store directory="${apollo.base}/data"/>   DSC -->
62   
63    <topic id="BML" slow_consumer_policy="queue"/>
64   
65  </virtual_host>
66
67  <web_admin bind="http://127.0.0.1:61680"/>
68  <!--  <web_admin bind="https://127.0.0.1:61681"/>  DSC -->
69
70   
71  <connector id="tcp" bind="tcp://0.0.0.0:61613" connection_limit="2000"  protocol="stomp">
72    <stomp  add_timestamp_header="true"/> 
73  </connector>
74 
75 
76  <!--
77  <connector id="tls" bind="tls://0.0.0.0:61614" connection_limit="2000"/>
78  <connector id="ws"  bind="ws://0.0.0.0:61623"  connection_limit="2000"/>
79  <connector id="wss" bind="wss://0.0.0.0:61624" connection_limit="2000"/>
80  DSC     -->
81
82  <key_storage file="${apollo.base}/etc/keystore" password="password" key_password="password"/>
83
84</broker>