[ 
https://issues.apache.org/jira/browse/ARTEMIS-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Bertram resolved ARTEMIS-4902.
-------------------------------------
    Fix Version/s: 2.36.0
       Resolution: Fixed

> Downstream federation example not compliant with xsd
> ----------------------------------------------------
>
>                 Key: ARTEMIS-4902
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-4902
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Piero Cena
>            Priority: Minor
>             Fix For: 2.36.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The [configuration example relating downstream 
> federation|https://activemq.apache.org/components/artemis/documentation/latest/federation-address.html#configuring-downstream-federation]
>  isn't compliant with the {{artemis-configuration.xsd}} so trying that config 
> the broker doesn't start with an error:
> {noformat}
> 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.{noformat}
> This is a part of the example configuration:
> {code:xml}
> <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>{code}
> However, the {{policy}} element must be _before_ {{upstream-connector}} per 
> the XSD.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to