How should an ESB be packaged/deployed?

前端 未结 5 2107
梦毁少年i
梦毁少年i 2021-02-08 20:37

I am trying to wrap my head around Apache Camel, which appears to be a lightweight ESB. If I understand Camel/ESBs correctly, then you can think of a Camel Route as a graph of n

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 21:15

    Like in the other answers, it depends on your needs but an ESB is usually a combination of different integration processes that do not necessarily share the same lifecycle.

    If this is the case for you I suggest using a jar per integration process approach. That way you can have different development lifecycles for each of the different jar's and you can assure your client that you have not touched any of the code except the one in that jar.

    This does not mean you have to go with the ear solution. You can perfectly package the code for your different processes in a war file without the ear overhead.

提交回复
热议问题