Migrate Apache Camel Endpoints

ぃ、小莉子 提交于 2019-12-11 10:19:12

问题


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

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?

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

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

  • Migrating Endpoints

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?

Thanks in advance.


回答1:


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



来源:https://stackoverflow.com/questions/19439093/migrate-apache-camel-endpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!