Announcement Announcement Module
Collapse
No announcement yet.
Groovy Script as an Inner Bean BeanDefinitionParsingException Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Groovy Script as an Inner Bean BeanDefinitionParsingException

    Hi,

    I have the following construct in my appContext (straight from the manual):

    <si:filter input-channel="myChannel">
    <groovy:script><![CDATA[
    return payload == 'good'
    ]]></groovy:script>
    </si:filter>

    I get the following exception when trying to run it:

    org.springframework.beans.factory.parsing.BeanDefi nitionParsingException: Configuration problem: Either "ref" attribute or inner bean (<bean/>) definition of concrete implementation of this MessageFilter is required.

    Any help is appreciated.

    Thanks

  • #2
    Hello.

    What the version of SI do you use?

    Switch to last release, please: http://www.springsource.org/spring-integration

    Artem Bilan

    Comment


    • #3
      Thanks for the suggestion -- it led me to find an older version of spring (3.0.0) sneaking into the classpath. Cheers

      Comment

      Working...
      X