Hi,
I'm trying to access a spring bean in the context of a Groovy interceptor script, but it doesn't work. I get error message in the log file:
groovy.lang.MissingPropertyException: No such property: spring
Note: I'm on Membrane version 4.0. The script is basically the same as in the examples/groovy/proxies.xml provided with Membrane version 4.3 package:
<groovy>
def value = spring.getBean('mySpringBean')
exc.response.header.add("X-Groovy", value)
</groovy>
Grateful for any advice!
Thanks,
Mats