我在我的mule应用程序中配置了以下组件绑定。
<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模式验证失败的原因吗?
发布于 2013-06-21 14:54:07
这是MuleStudio验证本身的一个问题,它仍然缺乏对绑定的支持。你可以暂时忽略它,直到它被修复。
https://stackoverflow.com/questions/17224946
复制