迁移 Apache Camel 端点 [英] Migrate Apache Camel Endpoints

查看:31
本文介绍了迁移 Apache Camel 端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始使用 Apache Camel,如果这个问题很愚蠢,我深表歉意.

I have recently started with Apache Camel so apologies if this questions is silly.

我有2个进程A和B,每个进程分别有一个端点E1和E2.现在让我们想象一下,我需要创建一个进程 C 而进程 B 必须死掉.我可以将 E2 迁移到 C 并在进程 A 中通过路由连接到 E1 吗?

I have 2 processes A and B, and each process has an endpoint E1 and E2 respectively. Now let's imagine that I need to create a process C and that process B has to die. Can I migrate E2 to C and connect it through a route to E1 in process A?

需要注意的是,A、B 和 C 也可能在不同的机器上.

It is important to notice that A, B and C may be in different machines as well.

我在 Camel 中搜索了进程迁移,但我发现的都是关于 JBoss Fuse 的文章:

I google for process migration in Camel, but all I found were articles referring to JBoss Fuse:

那么,问题自然来了,是否可以使用 Apache Camel 来做到这一点?如果是,如何?你能提供一些例子或文档吗?

So, the question naturally arrives, is it even possible to do it with Apache Camel? If yes, how ? Can you provide some example or documentation?

提前致谢.

推荐答案

您可以使用 load-骆驼中的平衡器模式来模拟场景.

You can use the load-balancer pattern in camel to model the scenario.

这篇关于迁移 Apache Camel 端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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