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 7689f32 CAMEL-16861: Cleanup and update EIP docs
7689f32 is described below
commit 7689f32730efcd1fe0f4712c4ed3230b7ab97ca0
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 23 10:44:18 2021 +0200
CAMEL-16861: Cleanup and update EIP docs
---
.../modules/eips/pages/idempotentConsumer-eip.adoc | 45 +++++++++++++++-------
.../main/docs/modules/eips/pages/inOnly-eip.adoc | 2 +
.../main/docs/modules/eips/pages/inOut-eip.adoc | 3 ++
.../docs/modules/eips/pages/requestReply-eip.adoc | 7 +---
4 files changed, 37 insertions(+), 20 deletions(-)
diff --git
a/core/camel-core-engine/src/main/docs/modules/eips/pages/idempotentConsumer-eip.adoc
b/core/camel-core-engine/src/main/docs/modules/eips/pages/idempotentConsumer-eip.adoc
index a852b01..2dda9d4 100644
---
a/core/camel-core-engine/src/main/docs/modules/eips/pages/idempotentConsumer-eip.adoc
+++
b/core/camel-core-engine/src/main/docs/modules/eips/pages/idempotentConsumer-eip.adoc
@@ -14,26 +14,43 @@ The Idempotent Consumer essentially acts like a
xref:filter-eip.adoc[Message Filter] to filter out duplicates.
Camel will add the message id eagerly to the repository to detect
-duplication also for Exchanges currently in progress.
- On completion Camel will remove the message id from the repository if
-the Exchange failed, otherwise it stays there.
+duplication also for xref:latest@manual:ROOT:exchange.adoc[Exchange]'s'
currently in progress.
+On completion Camel will remove the message id from the repository if
+the xref:latest@manual:ROOT:exchange.adoc[Exchange] failed, otherwise it stays
there.
+
+== Options
+
+// eip options: START
+include::partial$eip-options.adoc[]
+// eip options: END
+
+== Idempotent Consumer implementations
+
+The idempotent consumer provides a pluggable repository which you can implement
+your own `org.apache.camel.spi.IdempotentRepository`.
Camel provides the following Idempotent Consumer implementations:
-* MemoryIdempotentRepository
-* xref:components::file-component.adoc[FileIdempotentRepository]
+* MemoryIdempotentRepository from `camel-support` JAR
+* xref:components::caffeine-cache-component.adoc[CaffeineIdempotentRepository]
+* xref:components::cql-component.adoc[CassandraIdempotentRepository]
+xref:components::cql-component.adoc[NamedCassandraIdempotentRepository]
+* xref:components::ehcache-component.adoc[EHCacheIdempotentRepository]
* xref:components::hazelcast-summary.adoc[HazelcastIdempotentRepository]
-* xref:components::sql-component.adoc[JdbcMessageIdRepository]
-* xref:components::jpa-component.adoc[JpaMessageIdRepository]
+* xref:components::hbase-component.adoc[HBaseIdempotentRepository]
* xref:components::infinispan-component.adoc[InfinispanIdempotentRepository]
+xref:components::infinispan-component.adoc[InfinispanEmbeddedIdempotentRepository]
+xref:components::infinispan-component.adoc[InfinispanRemoteIdempotentRepository]
* xref:components::jcache-component.adoc[JCacheIdempotentRepository]
-* xref:latest@manual:ROOT:spring.adoc[SpringCacheIdempotentRepository]
-* xref:components::ehcache-component.adoc[EhcacheIdempotentRepository]
+* xref:components::jpa-component.adoc[JpaMessageIdRepository]
* xref:components::kafka-component.adoc[KafkaIdempotentRepository]
-* xref:components::hbase-component.adoc[HbaseIdempotentRepository]
+* xref:components::mongodb-component.adoc[MongoDbIdempotentRepository]
+* xref:components::spring-redis-component.adoc[RedisIdempotentRepository]
+xref:components::spring-redis-component.adoc[RedisStringIdempotentRepository]
+* xref:latest@manual:ROOT:spring.adoc[SpringCacheIdempotentRepository]
+* xref:components::sql-component.adoc[JdbcMessageIdRepository]
+xref:components::sql-component.adoc[JdbcOrphanLockAwareIdempotentRepository]
-== Options
+== Example
-// eip options: START
-include::partial$eip-options.adoc[]
-// eip options: END
+For example see the above implementations for more details.
diff --git
a/core/camel-core-engine/src/main/docs/modules/eips/pages/inOnly-eip.adoc
b/core/camel-core-engine/src/main/docs/modules/eips/pages/inOnly-eip.adoc
index 82c88cc..aa2e89c 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/inOnly-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/inOnly-eip.adoc
@@ -8,6 +8,8 @@
The *inOnly:* EIP define an InOnly ExchangePattern.
+WARNING: inOnly is deprecated. Use xref:event-message.adoc[setExchangePattern]
instead.
+
== EIP options
// eip options: START
diff --git
a/core/camel-core-engine/src/main/docs/modules/eips/pages/inOut-eip.adoc
b/core/camel-core-engine/src/main/docs/modules/eips/pages/inOut-eip.adoc
index 0339c1d..32184d3 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/inOut-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/inOut-eip.adoc
@@ -8,6 +8,9 @@
The *inOut:* EIP define an InOut ExchangePattern.
+WARNING: inOut is deprecated. Use xref:event-message.adoc[setExchangePattern]
instead.
+
+
== EIP options
// eip options: START
diff --git
a/core/camel-core-engine/src/main/docs/modules/eips/pages/requestReply-eip.adoc
b/core/camel-core-engine/src/main/docs/modules/eips/pages/requestReply-eip.adoc
index 7f80a03..c9f8ad5 100644
---
a/core/camel-core-engine/src/main/docs/modules/eips/pages/requestReply-eip.adoc
+++
b/core/camel-core-engine/src/main/docs/modules/eips/pages/requestReply-eip.adoc
@@ -21,12 +21,7 @@ by default perform these actions
using the JMSCorrelationID (as you may be performing many concurrent
request/responses).
-[TIP]
-====
-*Related*
-
-See the related xref:eips:event-message.adoc[Event Message] message
-====
+TIP: See the related xref:eips:event-message.adoc[Event Message].
[[RequestReply-ExplicitlyspecifyingInOut]]
== Explicitly specifying InOut