blob: 9103a2667cc077a1f38af18ff2fc05faef6ec22a [file] [log] [blame]
[
# Ruleset with differing number of senders and receivers
# so tests can determine that correct limit is matched.
["vhost", {
"id": "",
"maxConnections": 50,
"maxConnectionsPerUser": 2,
"maxConnectionsPerHost": 4,
"allowUnknownUser": true,
"groups": {
"$default" : {
"users": "*",
"remoteHosts": "*",
"maxFrameSize": 222222,
"maxMessageSize": 222222,
"maxSessionWindow": 222222,
"maxSessions": 2,
"maxSenders": 2,
"maxReceivers": 4,
"allowDynamicSource": true,
"allowAnonymousSender": true,
"sources": "*",
"targets": "*"
}
}
}
],
["vhost", {
"id": "0.0.0.0",
"maxConnections": 50,
"maxConnectionsPerUser": 2,
"maxConnectionsPerHost": 4,
"allowUnknownUser": true,
"groups": {
"$default" : {
"users": "*",
"remoteHosts": "*",
"maxFrameSize": 222222,
"maxMessageSize": 222222,
"maxSessionWindow": 222222,
"maxSessions": 2,
"maxSenders": 2,
"maxReceivers": 4,
"allowDynamicSource": true,
"allowAnonymousSender": true,
"sources": "*",
"targets": "*"
}
}
}
],
["vhost", {
"id": "localhost",
"maxConnections": 50,
"maxConnectionsPerUser": 2,
"maxConnectionsPerHost": 4,
"allowUnknownUser": true,
"groups": {
"$default" : {
"users": "*",
"remoteHosts": "*",
"maxFrameSize": 222222,
"maxMessageSize": 222222,
"maxSessionWindow": 222222,
"maxSessions": 2,
"maxSenders": 2,
"maxReceivers": 4,
"allowDynamicSource": true,
"allowAnonymousSender": true,
"sources": "*",
"targets": "*"
}
}
}
]
]