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 1699471c624 Regen 1699471c624 is described below commit 1699471c624b5e7002bea567312a9968fefb58e6 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun Dec 1 09:18:44 2024 +0100 Regen --- .../org/apache/camel/kotlin/components/SmbUriDsl.kt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SmbUriDsl.kt b/dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SmbUriDsl.kt index 9790d93f92d..5a49139ee2d 100644 --- a/dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SmbUriDsl.kt +++ b/dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/SmbUriDsl.kt @@ -192,6 +192,24 @@ public class SmbUriDsl( it.property("autoCreate", autoCreate.toString()) } + /** + * Whether or not to disconnect from remote SMB server right after use. Disconnect will only + * disconnect the current connection to the SMB server. If you have a consumer which you want to + * stop, then you need to stop the consumer route instead. + */ + public fun disconnect(disconnect: String) { + it.property("disconnect", disconnect) + } + + /** + * Whether or not to disconnect from remote SMB server right after use. Disconnect will only + * disconnect the current connection to the SMB server. If you have a consumer which you want to + * stop, then you need to stop the consumer route instead. + */ + public fun disconnect(disconnect: Boolean) { + it.property("disconnect", disconnect.toString()) + } + /** * What action to take if the SMB file already exists */