ESB 到 ESB 通信

发布于 2024-10-16 18:49:52 字数 260 浏览 1 评论 0原文

我正在尝试开发一个具有多个服务(例如 ServiceA 和 ServiceB)的系统,它们都是不同 esb 包(例如 ESB1 和 ESB2)的一部分。

我开发了这两个服务以及围绕它们的 esb 包装器,并将它们部署到 jboss 服务器。

我想做的是让 ESB1 中的服务 A 调用 ESB2 中的服务 B 并从 serviceB 获取响应。

我发现一般方法是将这两个服务发布到公共注册表并进行服务调用。有人可以给我更多关于如何做到这一点的信息吗?谢谢..

I am trying to develop a system that has multiple services say ServiceA and ServiceB and they are both part of different esb packages say ESB1 and ESB2.

I have developed these two services and the esb wrapper around them and deployed them to jboss server.

What i would like to do is have service A in ESB1 invoke Service B in ESB2 and get the response back from serviceB.

I found that the general approach is to have both services published to a common registry and make the service calls. Can some one give me more information on how this can be done. Thanks..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海夕 2024-10-23 18:49:52

看来您走在正确的道路上,您已经决定使用注册表服务。正如您所知道的,我猜想,这个想法是提供一个具有当前可用服务索引的注册表服务。这些服务的不同客户将通过注册表查找它们,而不是直接调用它们。

您询问如何设置这样的注册表 - 恕我直言,这不是一个可以在 Stackoverflow 上的答案中处理的主题。

我建议你先深入了解一下。 JBoss 提供的官方注册表服务文档是一个非常好的起点。

在这里找到它:
http://docs.jboss.org/jbossesb/docs /4.5.GA/manuals/pdf/ServicesGuide.pdf

这是 RedHat 提供的关于注册表的另一个文档:
http://docs.redhat.com /docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/ESB_Services_Guide/chap-the_registry.html

我希望这些能为您指明正确的方向。

It seems you are on the right path, you already decided to use a registry service. The idea is -- as you are aware I guess - to provide a registry service that has an index of the currently available services. The different customers of these services will then look them up via registry instead of calling them directly.

You ask about how to set up such a registry - this is imho not a topic which can be handled in an answer on Stackoverflow.

I would suggest you get into it a bit more first. A very good starting point is the official registry service documentation provided by JBoss.

Find it here:
http://docs.jboss.org/jbossesb/docs/4.5.GA/manuals/pdf/ServicesGuide.pdf

Here is another documentation by RedHat about the Registry:
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_SOA_Platform/5/html/ESB_Services_Guide/chap-the_registry.html

I hope these will point you into the right direction.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文