spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Add SpelFunction annotation support [INT-3136]

Open spring-operator opened this issue 12 years ago • 3 comments

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

spring-operator avatar Sep 09 '13 01:09 spring-operator

Artem Bilan commented

PR: https://github.com/spring-projects/spring-integration/pull/873

spring-operator avatar Sep 09 '13 05:09 spring-operator

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.

spring-operator avatar Feb 12 '14 12:02 spring-operator

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.

spring-operator avatar Apr 07 '14 07:04 spring-operator

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.

artembilan avatar Sep 24 '25 15:09 artembilan