简体   繁体   English

Apache Camel是否适合以下集成组件?

[英]Is Apache Camel suitable for the following integration component?

I'm working on a component (lets call it X) that integrates 3 services (lets call them A, B, C) with each other. 我正在研究一个将3个服务(分别称为A,B,C)相互集成的组件(称为X)。 It embedds a message queue. 它嵌入了一个消息队列。 The flow looks like that: 流程如下所示:

  1. Service A produces a message for the queue in X. 服务A为X中的队列生成一条消息。
  2. X consumes a message, based on the data in it does some computation and with the result calls service B (soap based web service), then based on the response data calls service C (rest based web service) 2.1. X消耗一条消息,根据消息中的数据进行一些计算,然后调用服务B(基于肥皂的Web服务),然后根据响应数据调用服务C(基于休息的Web服务)2.1。 Based on the data in it calls service B (SOAP WS). 根据其中的数据调用服务B(SOAP WS)。 2.2. 2.2。 Based on the response from 2.1. 根据2.1的回应。 it calls service C (REST WS) 它调用服务C(REST WS)
  3. After some computations in C, C calls back X (REST WS) and then X calls A (REST WS) 在C中进行了一些计算之后,C会调用X(REST WS),然后X调用A(REST WS)

There is a chance that there will be one more service consulated on the way. 有可能在此途中还会提供另一项服务。

Would it be profitable to base the component X on Apache Camel? 将组件X基于Apache Camel是否有利可图? If yes, which features of Camel would be useful? 如果是,那么骆驼的哪些功能会有用?

Apache Camel would work well here. Apache Camel在这里可以很好地工作。 It is also deployable in multiple containers, based on our organizations standards. 根据我们的组织标准,它还可以部署在多个容器中。 The components you would need for your solution are: camel-restlet and camel-cxf 解决方案所需的组件是: camel-restletcamel-cxf

Profits: Testing is fast since you can test by running Camel in your jvm. 收益:测试速度很快,因为您可以通过在jvm中运行Camel进行测试。 No need of a container to run your tests. 无需容器即可运行测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM