You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* It is better to have links to external docs independent of the version
* Rework and change the section of the `camel.adoc` talking about Camel component for Spring Integration.
This component was removed from Apache Camel since `4.0`
Copy file name to clipboardExpand all lines: src/reference/antora/modules/ROOT/pages/camel.adoc
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,21 +31,17 @@ Spring Integration fully relies on a dependency injection container from Spring
31
31
It uses many other Spring projects (Spring Data, Spring AMQP, Spring for Apache Kafka etc.) for its channel adapter implementations.
32
32
It also uses the `MessageChannel` abstraction as a first-class citizen of which developers need to be aware of, when composing their integration flows.
33
33
Apache Camel, on the other hand, does not provide a first-class citizen abstraction of a message channel and proposes to compose its routes via internal exchanges, hidden from the API.
34
-
In addition, it requires some extra https://camel.apache.org/components/4.10.x/spring-summary.html[dependencies and configurations] for it to be used in a Spring application.
34
+
In addition, it requires some extra https://camel.apache.org/manual/spring.html[dependencies and configurations] for it to be used in a Spring application.
35
35
36
36
Even if it doesn't matter for the final enterprise integration solution, how its parts are implemented, a developer experience and high productivity are taken into account.
37
37
Therefore, developers may choose one framework over another for many reasons or both if there is a gap in some target systems support.
38
38
Spring Integration and Apache Camel applications can interact with each other through many external protocols for which they implement channel adapters.
39
39
For example, a Spring Integration flow may publish a record to an Apache Kafka topic which is consumed by an Apache Camel endpoint on the consumer side.
40
-
Or, an Apache Camel route may write data into an SFTP file the directory, which is polled by a SFTP Inbound Channel Adapter from Spring Integration.
41
-
Or, within the same Spring application context they can communicate via an `ApplicationEvent` https://camel.apache.org/components/3.18.x/spring-event-component.html[abstraction].
40
+
Or, an Apache Camel route may write data into an SFTP file into the directory, which is polled by a SFTP Inbound Channel Adapter from Spring Integration.
41
+
Or, within the same Spring application context they can communicate via an `ApplicationEvent`.
42
42
43
-
To make the development process easier and to avoid unnecessary network hops, Apache Camel provides a https://camel.apache.org/components/3.18.x/spring-integration-component.html[module] to communicate with Spring Integration via message channels.
44
-
All that is needed is a reference to a `MessageChannel` from the application context, to send or consume messages.
45
-
This works well when Apache Camel routes are initiators of the message flow and Spring Integration plays only a supporting role as a part of the solution.
46
-
47
-
For a similar developer experience, Spring Integration now provides a channel adapter to call an Apache Camel endpoint and, optionally, wait for a reply.
48
-
There is no inbound channel adapter because subscribing to a `MessageChannel` for consuming Apache Camel messages is enough from the Spring Integration API and abstractions perspective.
43
+
To make the development process easier and to avoid unnecessary network hops, Spring Integration now provides a channel adapter to call an Apache Camel endpoint and, optionally, wait for a reply.
44
+
There is no inbound channel adapter because using the Apache Camel https://camel.apache.org/manual/bean-binding.html[Bean Binding] is enough to call any bean in the Spring application context, including xref:gateway.adoc[].
0 commit comments