When to use Spring Integration vs. Camel?

后端 未结 11 2111
南笙
南笙 2020-12-02 04:03

As a seasoned Spring user I was assuming that Spring Integration would make the most sense in a recent project requiring some (JMS) messaging capabilities (more details). Af

11条回答
  •  被撕碎了的回忆
    2020-12-02 04:52

    I only recommend Spring Integration if you already have got a Spring project and you have just to add some "basic" integration using File, FTP, JMS, JDBC, and so on.

    Apache Camel has two main advantages:

    1. Many, many more technologies are supported.
    2. Besides, a (good) XML DSL, there are fluent APIs for Java, Groovy and Scala.

    Because Apache Camel has very good integration with Spring, I would even use it instead of Spring Integration in most Spring projects.

    If you need more details, you can read my experiences in my blog post: Spoilt for Choice: Which Integration Framework to use – Spring Integration, Mule ESB or Apache Camel?

提交回复
热议问题