Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4902

Downstream federation example not compliant with xsd

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.36.0
    • Documentation
    • None

    Description

      The configuration example relating downstream federation isn't compliant with the artemis-configuration.xsd so trying that config the broker doesn't start with an error:

      org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'policy'. No child element is expected at this point.

      This is a part of the example configuration:

      <downstream name="eu-east-1">
         <static-connectors>
            <connector-ref>eu-east-1-connector</connector-ref>
         </static-connectors> 
         <upstream-connector-ref>netty-connector</upstream-connector-ref> 
         <policy ref="news-address-federation"/> 
      </downstream>

      However, the policy element must be before upstream-connector per the XSD.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              beaver77 Piero Cena
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m