Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When the broker.xml includes multiple connection router occurrences with the same policy the parser fails:
<connection-routers> <connection-router name="evenly-balance"> <key-type>CLIENT_ID</key-type> <key-filter>^.{3}</key-filter> <policy name="ROUND_ROBIN"/> <pool> <username>xxx</username> <password>yyy</password> <static-connectors> <connector-ref>server1</connector-ref> <connector-ref>server2</connector-ref> </static-connectors> </pool> </connection-router> <connection-router name="router-hmg"> <key-type>CLIENT_ID</key-type> <key-filter>^.{3}</key-filter> <policy name="ROUND_ROBIN"/> <pool> <username>zzz</username> <password>ccc</password> <static-connectors> <connector-ref>server3</connector-ref> <connector-ref>server4</connector-ref> </static-connectors> </pool> </connection-router> </connection-routers>
AMQ214019: Invalid configuration
Caused by: org.xml.sax.SAXParseException; cvc-id.2: There are multiple occurrences of ID value 'ROUND_ROBIN'.
Attachments
Issue Links
- links to