[ 
https://issues.apache.org/jira/browse/AMQ-8060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17261782#comment-17261782
 ] 

ASF subversion and git services commented on AMQ-8060:
------------------------------------------------------

Commit 05051e2c7af3703364d904120880bc822d82f34b in activemq's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=05051e2 ]

Merge pull request #603 from jbonofre/AMQ-8060

[AMQ-8060] Re add allowLinkStealing on transport connector for backward 
compatibility

> Attribute 'allowLinkStealing' is not allowed to appear in element 
> 'transportConnector'.
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-8060
>                 URL: https://issues.apache.org/jira/browse/AMQ-8060
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.16.0
>         Environment: Red Hat Linux
>            Reporter: Aleksandr Yaryna
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.17.0, 5.16.1, 5.15.15
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hi All,
> We are trying to migrate from version 5.15.11 on 5.16.0.
> And we have faced with an error with loading the activemq.xml:
> 2020-10-28 20:27:13,271 | ERROR | Failed to load: class path resource 
> [activemq.xml], reason: Line 126 in XML document from class path resource 
> [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException; 
> lineNumber: 126; columnNumber: 163; cvc-complex-type.3.2.2: Attribute 
> 'allowLinkStealing' is not allowed to appear in element 'transportConnector'. 
> | org.apache.activemq.xbean.XBeanBrokerFactory | main
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 126 in XML document from class path resource [activemq.xml] is invalid; 
> nested exception is org.xml.sax.SAXParseException; lineNumber: 126; 
> columnNumber: 163; cvc-complex-type.3.2.2: Attribute 'allowLinkStealing' is 
> not allowed to appear in element 'transportConnector'.
> As I can see the problem is that we are using XML validation with referring 
> on generic XSD, like this:
> {code:xml}
> <beans
>  xmlns="http://www.springframework.org/schema/beans";
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:schemaLocation="http://www.springframework.org/schema/beans 
> http://www.springframework.org/schema/beans/spring-beans.xsd
>  http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd";>{code}
> And allowLinkStealing attribute is absent in the new versions of the XSD 
> (generic and activemq-core-5.16.0.xsd).
> While allowLinkStealing property is still available for Transport 
> configuration why it was excluded from XSD?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to