Why is Schema Validation for Mule App xml failing for Java Component Binding?

橙三吉。 提交于 2019-12-01 09:22:40

问题


I've configured the following component binding in my mule app.

<jersey:resources doc:name="REST">
        <component>
            <spring-object bean="activityController"/>
            <binding interface="edu.ucdavis.edustream.esb.activity.service.EduStreamService" method="putActivity">
                <vm:outbound-endpoint exchange-pattern="request-response"
                        path="putActivity" />
            </binding>
        </component>
    </jersey:resources> 

It builds and runs without error, but the mule xml lists the following errors:

Element: Binding Properties is not allowed to be child of element Java
Element: VM is not allowed to be child of element Binding Properties

My config is very similar to that found in the following blog and accompanying github src:

http://blogs.mulesoft.org/mule-component-bindings/ https://github.com/mulesoft/blog/tree/master/StockStats

Any ideas why the mule app xml schema validation is failing?


回答1:


That's a problem in the MuleStudio validation itself, which lacks the support for bindings still. You can ignore that for the time being until it gets fixed.



来源:https://stackoverflow.com/questions/17224946/why-is-schema-validation-for-mule-app-xml-failing-for-java-component-binding

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!