markfisher/spring-integration — comment on commit 6338330e066624a6b7ed36696493c4e92f88f810
File:  line 0
By garyrussell:

I concur this is a low-risk "quick-fix" for the issue, and the right approach for now, given the timing. But we should definitely pursue a fix based on Artem's code in the longer term because it significantly reduces overhead, particularly for large application contexts where, with the current implementation, many beans will be added to the Bindings, even though it is likely only a few may be referenced in the groovy script(s).