我已经在我的 mule 应用程序中配置了以下组件绑定(bind)。
<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>
它构建并运行没有错误,但 mule xml 列出了以下错误:
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 中的配置非常相似:
http://blogs.mulesoft.org/mule-component-bindings/ https://github.com/mulesoft/blog/tree/master/StockStats
有什么想法为什么 mule 应用程序 xml 模式验证失败吗?
最佳答案
这是 MuleStudio 验证本身的问题,它仍然缺乏对绑定(bind)的支持。您可以暂时忽略它,直到它得到修复。
关于mule - 为什么 Mule App xml 的架构验证对于 Java 组件绑定(bind)失败?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17224946/