Results 1 to 3 of 3

Thread: Groovy Script as an Inner Bean BeanDefinitionParsingException

  1. #1
    Join Date
    Apr 2010
    Posts
    7

    Default 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. #2
    Join Date
    Jan 2009
    Location
    Ukraine, Kharkov
    Posts
    735

    Default

    Hello.

    What the version of SI do you use?

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

    Artem Bilan

  3. #3
    Join Date
    Apr 2010
    Posts
    7

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •