This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new be2d9da CAMEL-16861: Cleanup and update EIP docs be2d9da is described below commit be2d9da7ae40369855f1faa201f6b01b6de827b9 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Sep 15 15:11:49 2021 +0200 CAMEL-16861: Cleanup and update EIP docs --- .../src/main/docs/modules/eips/pages/change-data-capture.adoc | 4 ++-- .../src/main/docs/modules/eips/pages/channel-adapter.adoc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/change-data-capture.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/change-data-capture.adoc index 14fae87..90080fe 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/change-data-capture.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/change-data-capture.adoc @@ -3,7 +3,7 @@ Camel supports the https://en.wikipedia.org/wiki/Change_data_capture[Change Data Capture] pattern. -This patterns allows to track changes in databases, and then let applications listen to change events, +This pattern allows tracking changes in databases, and then let applications listen to change events, and react accordingly. For example this can be used as a xref:messaging-bridge.adoc[Messaging Bridge] to bridge two systems. @@ -12,6 +12,6 @@ image::eip/CDC-Debezium.png[image] Camel integrates with https://debezium.io/[Debezium] which is a CDC system. There are a number of Camel Debezium components that works with different databases such as MySQL, Postgres, and MongoDB. -== Sample +== Example See the https://github.com/apache/camel-examples/tree/master/examples/debezium[Camel Debezium Example] for more details. diff --git a/core/camel-core-engine/src/main/docs/modules/eips/pages/channel-adapter.adoc b/core/camel-core-engine/src/main/docs/modules/eips/pages/channel-adapter.adoc index 03c0d05..bdd35de 100644 --- a/core/camel-core-engine/src/main/docs/modules/eips/pages/channel-adapter.adoc +++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/channel-adapter.adoc @@ -17,7 +17,7 @@ The Channel Adapter is implemented in Camel by components. Each component adapters between the systems and Camel where all details are hidden in the implementation of the component, which allows applications to easily send and receive data. -== Samples +== Example An application must receive messages from a Kafka topic, which can be done by using the xref:components::kafka-component.adoc[Kafka] component. @@ -35,6 +35,7 @@ And the bean has method which accepts the message payload as a byte array. [source,java] ---- public class CheeseBean { + public void receiveCheeseData(byte[] data) { // do something }