通过骆驼传递统一的Web服务 [英] Passing uniform webservices through Camel

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

问题描述

我用骆驼为我的项目考虑,并想知道它是否feasable或骆驼是不是一个好的选择。
我需要在运行完全相同的应用程序的多个客户端通过交换网络服务(CXF或轴)的信息。该交易所将通过一个中央枢纽,会做基于内容的路由从一个客户到另一个,也将记录在数据库中该通信。该中心还将路线一台客户机的另一个响应时的响应进来,可能有大量的这种交流从多个客户端回事。
该Web服务是完全一样的,所以我并不需要不同的系统进行整合。
我只是需要一个路由机制和一些会控制音量。也缓解呼叫/接受Web服务调用的是非常重要的。
我们是一个Java / JBoss的店。
骆驼是对这一问题的妥善解决还是一个矫枉过正或有其他任何会适合这个要求更好?
我将不胜AP preciate你的帮助。
谢谢
纳迪亚

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

推荐答案

呀骆驼可以坐,因为这枢纽和路由消息。

Yeah Camel can sit as this hub and route messages.

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

有充足的相关的HTTP和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

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的骆驼标签

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

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

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