mule - 为什么 Mule App xml 的架构验证对于 Java 组件绑定(bind)失败?

标签 mule mule-studio

我已经在我的 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/

相关文章:

java - 从自定义转换器访问 Mule 全局变量

java - workDirectory 属性的真正用途是什么?

ssl - 发送 HTTP 请求时出错。 (无法从 mule HTTPS 连接到 openAM)

java - mule https 入站端点

mule - mule 如何调用组件?

mule - 在 Mule 中使用 Choice Router 的优点和缺点

java - 仅在运行 MUnit 测试时出现错误 : Could not create the Java Virtual Machine.

maven - 使用 Maven 从域项目创建 Mule 可部署存档

Mule 流程设计以处理从远程位置读取的大文件

java - 删除 mule 中的 favicon.ico 请求