为什么Mule App xml的架构验证因Java组件绑定而失败? [英] Why is Schema Validation for Mule App xml failing for Java Component Binding?
问题描述
我已经在我的m子应用程序中配置了以下组件绑定.
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>
它的构建和运行没有错误,但是m子xml列出了以下错误:
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
我的配置与以下博客和随附的github src中的配置非常相似:
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
有什么想法为什么要进行Mule应用程序XML架构验证?
Any ideas why the mule app xml schema validation is failing?
推荐答案
这是MuleStudio验证本身的问题,它仍然缺乏对绑定的支持.您可以暂时忽略它,直到它修复.
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.
这篇关于为什么Mule App xml的架构验证因Java组件绑定而失败?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!