[ https://issues.apache.org/jira/browse/ARTEMIS-4951?focusedWorklogId=927389&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-927389 ]
ASF GitHub Bot logged work on ARTEMIS-4951: ------------------------------------------- Author: ASF GitHub Bot Created on: 25/Jul/24 10:04 Start Date: 25/Jul/24 10:04 Worklog Time Spent: 10m Work Description: gemmellr merged PR #5115: URL: https://github.com/apache/activemq-artemis/pull/5115 Issue Time Tracking ------------------- Worklog Id: (was: 927389) Time Spent: 20m (was: 10m) > Multiple connection router occurrences with same policy cause parser error > -------------------------------------------------------------------------- > > Key: ARTEMIS-4951 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4951 > Project: ActiveMQ Artemis > Issue Type: Bug > Reporter: Domenico Francesco Bruscino > Assignee: Domenico Francesco Bruscino > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > When the broker.xml includes multiple connection router occurrences with the > same policy the parser fails: > {code:xml} > <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> > {code} > {code:java} > AMQ214019: Invalid configuration > Caused by: org.xml.sax.SAXParseException; cvc-id.2: There are multiple > occurrences of ID value 'ROUND_ROBIN'. > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@activemq.apache.org For additional commands, e-mail: issues-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact