You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/08/09 17:37:46 UTC

[camel] branch main updated: 📝 Add Ant missing example (#8134)

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 2971ceb640d 📝 Add Ant missing example (#8134)
2971ceb640d is described below

commit 2971ceb640d736f03fe1fe59535e1557d6fcaafa
Author: Federico Mariani <34...@users.noreply.github.com>
AuthorDate: Tue Aug 9 19:37:42 2022 +0200

    📝 Add Ant missing example (#8134)
---
 components/camel-file/src/main/docs/file-component.adoc | 5 +++++
 components/camel-ftp/src/main/docs/ftp-component.adoc   | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/components/camel-file/src/main/docs/file-component.adoc b/components/camel-file/src/main/docs/file-component.adoc
index 113568755cc..a96e1c8fe6a 100644
--- a/components/camel-file/src/main/docs/file-component.adoc
+++ b/components/camel-file/src/main/docs/file-component.adoc
@@ -766,6 +766,11 @@ See the URI options above for more information.
 
 The sample below demonstrates how to use it:
 
+[source,java]
+----
+from("file://inbox?antInclude=**/*.txt").to("...");
+----
+
 === Sorting using Comparator
 
 Camel supports pluggable sorting strategies. This strategy it to use the
diff --git a/components/camel-ftp/src/main/docs/ftp-component.adoc b/components/camel-ftp/src/main/docs/ftp-component.adoc
index ec38d77ca74..c687db4e6b5 100644
--- a/components/camel-ftp/src/main/docs/ftp-component.adoc
+++ b/components/camel-ftp/src/main/docs/ftp-component.adoc
@@ -504,6 +504,11 @@ The file paths are matched with the following rules:
 
 The sample below demonstrates how to use it:
 
+[source,java]
+----
+from("ftp://admin@localhost:2222/public/camel?antInclude=**/*.txt").to("...");
+----
+
 == Using a proxy with SFTP
 
 To use an HTTP proxy to connect to your remote host, you can configure