davsclaus opened a new pull request, #28498: URL: https://github.com/apache/camel/pull/28498
From the local-model benchmark of Oct 25-26 2026 (qwen3.6:35b-mlx through the camel-jbang-mcp server, 7 rounds of 27 examples). Each change targets steps that failed that night. Jira: [CAMEL-26316](https://issues.apache.org/jira/browse/CAMEL-26316) - **Circuit breaker options in the route.** Asked to "add a resilience4jConfiguration", 6 of 7 runs looked up resilience4j as a component and got the `camel.resilience4j.*` keys. 4 wrote them to application.properties, which a reload does not apply, and the circuit breaker never opened. `camel_catalog_doc` for resilience4j and faulttolerance now says first to set the options in the route, under `circuitBreaker: resilience4jConfiguration:`, and that a reload does not apply the keys (the other main option groups say so too). A write of a properties file that adds or changes those keys gets a note with the same options written for the route. - **A top-level ternary, rewritten.** The message showed a fixed example, and runs wrote the same ternary up to 20 times in a row. It now shows their expression inside one function: `resource:file:${exchangeProperty.CamelTimerCounter == 1 ? 'order.json' : 'order-bad-email.json'}`. - **The cause of a sql error.** `:#{body.customer}` reached the database as written, and the answer said only "bad SQL grammar []". The validator now reports `:#{...}` with the forms to write (`:#${body[customer]}` or `:#customer`), next to the check of a bare `:name` (CAMEL-24869). An ERROR line of the reload answer ends with the root cause of its stack trace when the line does not say it: `(caused by PSQLException: ERROR: syntax error at or near ":" Position: 53)`. `camel_error_diagnose` knows `BadSqlGrammarException`. - **Failing a message on purpose.** In a step that asks for a dead letter channel, the runs added it, but nothing failed (0 of 7, then 1 of 7). The model read the errorHandler sample in 12 of 14 runs, and its first example failed with a placeholder processor. The example in error-handler.adoc now fails with a filter and throwException (XML, legacy Spring XML and YAML tabs), and `eip-samples.json` is regenerated. Tests: - camel-jbang-core (2446 + 241) and camel-jbang-mcp (504) pass. - The user manual examples pass: UserManualDocExamplesTest (YAML) and DocExamplesXmlSchemaTest (XML). - Checked through a running camel-jbang-mcp server: the answers of camel_catalog_doc, camel_write_file, camel_validate_source, camel_error_diagnose and camel_catalog_sample. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
