Mule项目作为其他Mule项目中的依赖项

Mule项目作为其他Mule项目中的依赖项,mule,Mule,我有一个打包为JAR的Mule项目,它有一个VM端点,通过它我们可以调用这个Mule适配器中的流 我想从另一个应用程序调用这个VM端点,这也是一个Mule应用程序,但我遇到了以下异常 Message : There is no receiver registered on connector "connector.VM.mule.default" for endpointUri vm://toABCPath Code : MULE_E

我有一个打包为JAR的Mule项目,它有一个VM端点,通过它我们可以调用这个Mule适配器中的流

我想从另一个应用程序调用这个VM端点,这也是一个Mule应用程序,但我遇到了以下异常

Message               : There is no receiver registered on connector "connector.VM.mule.default" for endpointUri vm://toABCPath
Code                  : MULE_ERROR-0

Exception stack is:
1. There is no receiver registered on connector "connector.VM.mule.default" for endpointUri vm://toABCPath(org.mule.api.transport.NoReceiverForEndpointExceptionorg.mule.transport.vm.VMMessageDispatcher)
简言之,我无法在依赖Mule项目中调用VM端点流

以下是我遵循的步骤

以下是我尝试过的步骤,我想我遗漏了一些东西,但无法发现

1) 为我要调用其vm端点的项目构建一个jar

2) 创建了一个新的示例项目,该项目只有一个http入站端点。 3) 在示例项目的类路径中包含我要测试的项目的jar文件。 4) 通过http调用http端点,然后设置接收方VM端点所需的Bean,然后尝试使用

<vm:outbound-endpoint path="toABCPath" doc:name="VM" exchange-pattern="request-response"/>

5) 当我将其作为Mule应用程序运行时,它运行良好,直到找到上面的步骤4,在那里它给出了上面的错误


有人能告诉我我遗漏了什么吗?

没有包含依赖项目的mule配置,我的坏

包括以下内容:

<spring:beans>
    <spring:import resource="classpath:mule-config.xml" />
</spring:beans>

现在它工作得很好。谢谢