Claus Ibsen created CAMEL-27368:
-----------------------------------
Summary: camel-smb - sortBy with reverse: or ignoreCase: fails,
and move with delete does not fail at startup
Key: CAMEL-27368
URL: https://issues.apache.org/jira/browse/CAMEL-27368
Project: Camel
Issue Type: Bug
Components: camel-smb
Reporter: Claus Ibsen
Fix For: 4.24.0
# {{SmbComponent.buildFileEndpoint}} calls {{setProperties(endpoint,
parameters)}} before {{GenericFileComponent}} parses {{sortBy}}. So
{{sortBy=reverse:file:name}}, {{ignoreCase:}} and {{;}} groups fail with
{{Unknown function: reverse:file:name}}. A plain {{file:name}} works.
# With both {{move}} and {{delete=true}}, the file and ftp components fail at
startup, as the two cannot be combined. camel-smb starts, deletes the file and
silently ignores {{move}}.
Expected: the same as the file component in both cases.
Found while adding new Kamelets to the Kamelet catalog (apache/camel-kamelets,
2026-11-21).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)