This repository has been archived by the owner on Jun 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathamq_server_base.cfg
59 lines (47 loc) · 1.98 KB
/
amq_server_base.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml?>
<config>
<!--
OpenAMQ server primary configuration file
** DO NOT EDIT THIS FILE **
To define a custom configuration, especially for security data and
cluster configuration, edit "amq_server.cfg", or pass configuration options
on the command line.
Security data and cluster configuration, and queue and user group
profiles cannot be defined on the command-line or via the shell. This
file provides example sections that you can copy to custom.cfg.
Run "amq_server --help" for options help.
Syntax for message transfer agent (MTA) configuration
-----------------------------------------------------
<cluster_mta
name = "exchange-name"
vhost = "virtual-host"
host = "localhost:5000"
login = "peering"
mode = "0 | 1 | 2 | 3 | 4" 0=disabled, 1=subscriber, 2=fwd-all, 3=fwd-else, 4=both
/>
These are default queue profiles:
---------------------------------
Valid actions are:
warn - send message to alert log
drop - drop the message
trim - remove old messages from queue
kill - kill the connection and queue
Note that if you define a drop/trim action, the queue will never
grow larger than the specified limit.
Please define limits in ascending order.
-->
<queue_profile name = "private">
<limit name = "warn" value = "10000" />
<limit name = "trim" value = "40000" />
</queue_profile>
<queue_profile name = "shared">
<limit name = "warn" value = "1000" />
<limit name = "kill" value = "5000" />
</queue_profile>
<!-- These are the default passwords -->
<security name = "plain">
<user name = "guest" password = "guest" group = "normal" />
<user name = "super" password = "super" group = "super" />
<user name = "peering" password = "peering" group = "super" />
</security>
</config>