如何将Spring应用程序与Mule ESB集成 [英] How to integrate Spring application with Mule ESB

查看:86
本文介绍了如何将Spring应用程序与Mule ESB集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的spring(3.0)应用程序与Mule ESB(Mule3)集成在一起,并为不同的客户端(.Net,GWT等)提供这些服务.为此,我是否应该将Spring应用程序部署为单独的组件并在Mule上定义Endpoint,还是可以将Spring应用程序部署在Mule内并将这些服务提供给外部客户端.如果有人知道与该问题有关的一些想法或示例参考项目,请向我更新.谢谢.

I want to integrate my spring (3.0) application with Mule ESB (Mule3) and make available those service for different clients (.Net, GWT etc). For accomplish this, whether I should deploy my Spring application as separate component and define Endpoint on Mule or I can deploy my spring application inside the Mule and provide those services to outside clients. If anyone know some ideas or any sample reference projects related to this problem, can please update me. Thanks.

推荐答案

我建议将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.

将Mule与Spring配合使用和 Spring应用程序上下文页面是开始学习如何执行此操作的地方

The Using Mule with Spring and Spring Application Contexts pages are the places to start learning about how to do this.

这篇关于如何将Spring应用程序与Mule ESB集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆