通过 Camel 传递统一的网络服务 [英] Passing uniform webservices through Camel

查看:31
本文介绍了通过 Camel 传递统一的网络服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑在我的项目中使用 Camel,并想知道它是否可行或骆驼不是一个好的选择.我需要多个运行相同应用程序的客户端来通过 Web 服务(CXF 或 AXIS)交换信息.交换将通过一个中央集线器,该集线器将执行从一个客户端到另一个客户端的基于内容的路由,并将此通信记录在数据库中.当响应到来时,集线器还会将一个客户端的响应路由到另一个客户端.可能会有大量这样的交换来自多个客户端.网络服务完全相同,所以我不需要集成不同的系统.我只需要一个路由机制和一些可以控制音量的东西.轻松调用/接受 Web 服务调用也很重要.我们是一家 Java/JBoss 商店.Camel 是解决这个问题的合适解决方案还是过度杀伤力,或者还有什么更适合这个要求?我将不胜感激您的帮助.谢谢娜迪亚

I'm contemplating using Camel for my project and would like to know if it's feasable or camel is not a good choice. I need multiple clients running same exact application to exchange information via web services (CXF or AXIS). The exchange will go through a central hub that will do a content based routing from one client to the other and will also log this communication in the database. The hub will also route one client's response to another when the responses come in. There could be a large amount of these exchanges going on from multiple clients. The webservices are exactly the same so I don't need to integrate different systems. I just need a routing mechanism and something that would control volume. Also ease of calling/accepting web service calls is important. We are a Java/JBoss shop. Is Camel a fitting solution for this problem or is it an overkill or is there anything else that would fit this requirement better? I would greatly appreciate your help. Thank you Nadia

推荐答案

是的,Camel 可以作为这个枢纽并路由消息.

Yeah Camel can sit as this hub and route messages.

支持EIP模式http://camel.apache.org/eip

有很多与 HTTP 和 WS 相关的组件http://camel.apache.org/cxfhttp://camel.apache.org/httphttp://camel.apache.org/jettyhttp://camel.apache.org/cxfhttp://camel.apache.org/spring-web-services.html

There is plenty of components related to HTTP and WS http://camel.apache.org/cxf http://camel.apache.org/http http://camel.apache.org/jetty http://camel.apache.org/cxf http://camel.apache.org/spring-web-services.html

这是一个小的 CXF 代理示例http://camel.apache.org/cxf-proxy-example.html

And here is a little CXF proxy example http://camel.apache.org/cxf-proxy-example.html

PS:有一个 apache-camel 标签,大多数人用它来回答 Camel 问题

PS: There is a apache-camel tag which most people use for Camel questions

这篇关于通过 Camel 传递统一的网络服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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