更新时间:2021-10-09 22:46:40
我建议将Mule集成到您的Spring应用程序中.也就是说,将Mule jar文件添加到您的应用程序并将其用作库.这样,Mule会将子上下文添加到您的主要Spring应用程序上下文中,并且可以访问您的bean,因此可以将它们用作服务.
I would recommend integrating Mule into your Spring application. That is, adding the Mule jar files to your app and using it as a library. Doing it this way Mule adds a child context to your main Spring application context and has access to your beans so they can be used as services.
The Using Mule with Spring and Spring Application Contexts pages are the places to start learning about how to do this.