如何通过实施 ESB 来提升我的工作流的性能

How can my Workflow's performance be upgraded by Implementing ESB

我们正在尝试将我们的整个工作流转移到 ESB。

在这里,我们在项目中执行的所有操作!

1.Get 来自 sftp 服务器的输入文件。

2.then 将该文件复制到安装了 java 的应用程序服务器(另一台服务器)..

3.from 我们正在访问数据库服务器(这是另一台服务器)..并执行一些验证。

4.then 我们正在生成一些文件并 post 它返回到 sftp 服务器..

5.from 通过 Web 服务我们必须将该文件传输到另一台服务器。

我们通过 JAVA 实现了所有这些。当通过任何 ESB 实现时,ESB 有何帮助。

we had implemented all these through JAVA. How can ESB can help when implementing this through any ESB.

从这里我可以看到,您可以使用 Apache Camel 轻松路由您发布的示例工作流程,节省大量样板代码。引用自 this question:

Apache Camel is an open source Java framework that focuses on making integration easier and more accessible to developers. It does this by providing:

  • concrete implementations of all the widely used Enterprise Integration Patterns (EIPs)
  • connectivity to a great variety of transports and APIs
  • easy to use Domain Specific Languages (DSLs) to wire EIPs and transports together

Camel 有一个 lot of components 可用于构建您的 workflow/route 并节省工作。

谈到 ESB 话题,关于 ESB 和 Apache Camel 有一个很好的定义 in this FAQ:

Is Camel an ESB?

Typically vendors claim practically everything is an ESB these days, so the answer is probably yes :)

However our view is that an ESB is more of a container of integration components, so we view Apache ServiceMix to be a true ESB based around OSGi (and optionally JBI) to provide a standards based integration platform of components.

We view Camel as being a rule based routing & mediation engine which can be used inside a full blown ESB, a message broker or a web services smart client. Though if you want to, you could consider that Camel is a small, lightweight embeddable ESB since it can provide many of the common ESB services like smart routing, transformation, mediation, monitoring, orchestration etc.