This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.8.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.8.x by this push:
new 48674f23735 doc(sample-eip): correct XML examples (#16971)
48674f23735 is described below
commit 48674f237350eecbeb119d1cff720e8bec81aa71
Author: Matej Melko <[email protected]>
AuthorDate: Wed Jan 29 16:12:08 2025 +0100
doc(sample-eip): correct XML examples (#16971)
---
.../src/main/docs/modules/eips/pages/sample-eip.adoc | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git
a/core/camel-core-engine/src/main/docs/modules/eips/pages/sample-eip.adoc
b/core/camel-core-engine/src/main/docs/modules/eips/pages/sample-eip.adoc
index fbd2a79f40f..d483c5e700d 100644
--- a/core/camel-core-engine/src/main/docs/modules/eips/pages/sample-eip.adoc
+++ b/core/camel-core-engine/src/main/docs/modules/eips/pages/sample-eip.adoc
@@ -47,9 +47,8 @@ XML::
----
<route>
<from uri="direct:sample"/>
- <sample>
- <to uri="direct:sampled"/>
- </sample>
+ <sample/>
+ <to uri="direct:sampled"/>
</route>
----
====
@@ -76,9 +75,8 @@ XML::
----
<route>
<from uri="direct:sample"/>
- <sample samplePeriod="5000">
- <to uri="direct:sampled"/>
- </sample>
+ <sample samplePeriod="5000"/>
+ <to uri="direct:sampled"/>
</route>
----
====
@@ -106,9 +104,8 @@ XML::
----
<route>
<from uri="direct:sample"/>
- <sample messageFrequency="10">
- <to uri="direct:sampled"/>
- </sample>
+ <sample messageFrequency="10"/>
+ <to uri="direct:sampled"/>
</route>
----
====