This is an automated email from the ASF dual-hosted git repository. nfilotto pushed a commit to branch backport-camel-smb in repository https://gitbox.apache.org/repos/asf/camel.git
commit 3ad101a51f8cb94a1e264fc28c6bcd89ce0a137a Author: Claus Ibsen <[email protected]> AuthorDate: Mon Nov 6 10:14:51 2023 +0100 Updated docs --- .../camel-smb/src/main/docs/smb-component.adoc | 24 +++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/components/camel-smb/src/main/docs/smb-component.adoc b/components/camel-smb/src/main/docs/smb-component.adoc index bd0a08a801e..e1b96e01156 100644 --- a/components/camel-smb/src/main/docs/smb-component.adoc +++ b/components/camel-smb/src/main/docs/smb-component.adoc @@ -31,9 +31,27 @@ The Server Message Block (SMB) component provides a way to connect natively to S smb:address[:port]/shareName[?options] ---- -== Usage +// component-configure options: START -For instance, polling all the files from a SMB file share and reading their contents would look like this: +// component-configure options: END + +// component options: START +include::partial$component-configure-options.adoc[] +include::partial$component-endpoint-options.adoc[] +// component options: END + +// endpoint options: START + +// endpoint options: END + +// component headers: START +include::partial$component-endpoint-headers.adoc[] +// component headers: END + + +== Examples + +For instance, polling all the files from an SMB file share and reading their contents would look like this: [source,java] ---- @@ -53,5 +71,5 @@ public void configure() { [NOTE] ==== -Beware that the File object provided is not a java.io.File instance, but, instead a com.hierynomus.smbj.share.File instance. +Beware that the File object provided is not a `java.io.File` instance, but, instead a `com.hierynomus.smbj.share.File` instance. ====
