| [ |
| # Ruleset with differing number of senders and receivers |
| # so tests can determine that correct limit is matched. |
| ["vhost", { |
| "hostname": "", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 2, |
| "maxReceivers": 4, |
| "allowDynamicSource": true, |
| "allowAnonymousSender": true, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ], |
| ["vhost", { |
| "hostname": "0.0.0.0", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 2, |
| "maxReceivers": 4, |
| "allowDynamicSource": true, |
| "allowAnonymousSender": true, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ], |
| ["vhost", { |
| "hostname": "localhost", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 2, |
| "maxReceivers": 4, |
| "allowDynamicSource": true, |
| "allowAnonymousSender": true, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ], |
| ["vhost", { |
| "hostname": "override.host.com", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 3, |
| "maxReceivers": 5, |
| "allowDynamicSource": true, |
| "allowAnonymousSender": true, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ], |
| ["vhost", { |
| "hostname": "capabilities1.host.com", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 3, |
| "maxReceivers": 5, |
| "allowWaypointLinks": true, |
| "allowFallbackLinks": false, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ], |
| ["vhost", { |
| "hostname": "capabilities2.host.com", |
| "maxConnections": 50, |
| "maxConnectionsPerUser": 2, |
| "maxConnectionsPerHost": 4, |
| "allowUnknownUser": true, |
| "groups": { |
| "$default" : { |
| "remoteHosts": "*", |
| "maxFrameSize": 222222, |
| "maxMessageSize": 222222, |
| "maxSessionWindow": 222222, |
| "maxSessions": 2, |
| "maxSenders": 3, |
| "maxReceivers": 5, |
| "allowWaypointLinks": false, |
| "allowFallbackLinks": true, |
| "sources": "*", |
| "targets": "*" |
| } |
| } |
| } |
| ] |
| ] |