Add SpelFunction annotation support [INT-3136]
Artem Bilan opened INT-3136 and commented
Issue Links:
- #7271 Provide annotation configuration for <gateway/> ("depends on")
- #5625 Provide hook for registering custom SpEL functions with StandardEvaluationContext used by SI
Artem Bilan commented
As far as we have already @EnableIntegration and provide the hook to scan classpath (see #7271) - @IntegrationComponentScan, we can come back to this.
Artem Bilan commented
Moving to General Backlog as Won't Fix candidate, as far as the SpEL function can be configured via SpelFunctionFactoryBean from JavaConfig.
Need more votes to do this.
The SpEL function is essentially a static method invocation: https://docs.spring.io/spring-framework/reference/core/expressions/language-ref/functions.html.
It is better to avoid a scan overhead for those methods and stick with plain SpelFunctionFactoryBean configuration.