Announcement Announcement Module
Collapse
No announcement yet.
Accessing spring bean from within groovy transformer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Accessing spring bean from within groovy transformer

    Hello,

    I have a util:map defined in my spring context, I want to be able to access this map from within a SI groovy transformer, what is the best way to do so?

    Thanks

  • #2
    I managed to get it working by passing the map as a variable to the groovy script

    int-groovy:variable name="mymap" value="#{map}"/>

    Comment

    Working...
    X