jamesnetherton opened a new pull request, #9586:
URL: https://github.com/apache/camel-quarkus/pull/9586

   Camel resolves custom Simple language functions by looking up 
`SimpleFunction` beans in the registry by type. Nothing injects these beans, so 
ArC removed them and route creation failed with `No custom simple function with 
name: ...`.
   
   This adds `org.apache.camel.spi.SimpleFunction` to the bean types that 
`CamelBeansProcessor` marks as unremovable.
   
   It also adds tests to `core-languages` for custom functions, covering:
   
   - a `SimpleFunction` provided as a CDI bean
   - `SimpleFunctionRegistry.addFunction(SimpleFunction)`
   - `SimpleFunctionRegistry.addFunction(String, Expression)`
   - `${function(name)}`, `${function(name,exp)}` and the `${name(...)}` 
shorthand
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to