Claus Ibsen created CAMEL-26878:
-----------------------------------
Summary: camel-jbang - AI tools: a write that appends messages to
a file without a separator gets a note
Key: CAMEL-26878
URL: https://issues.apache.org/jira/browse/CAMEL-26878
Project: Camel
Issue Type: Improvement
Components: camel-jbang
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.24.0
Follow-up from the local-model benchmark (qwen3.6, r32), route-batch-file step
2: append each line that cannot be read to rejects/<file name>, one per line.
The routes wrote to a file endpoint with fileExist Append and no appendChars,
so the rejected lines ran together, and the step failed in all 7 runs. The
model read the options of the file component in 5 runs, and saw appendChars
only once (with optionsFilter append).
* A write of a route with a file, ftp, ftps or sftp producer with fileExist
Append and no appendChars now gets a note: each message is added right after
the one before, with nothing between them; to write one message per line, set
appendChars to \n.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)