Announcement Announcement Module
Collapse
No announcement yet.
XSLT transformer (maybe other) and duplicated beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • XSLT transformer (maybe other) and duplicated beans

    I've found testing with context.setAllowBeanDefinitionOverriding(false);

    that the XSLT transformer is creating a phantom channel when the specified input channel it's not declared BEFORE the transformer itself.

    Verbi gratia :

    <intublish-subscribe-channel id="describeAccountLogPubSub2" />

    <int-xml:xslt-transformer
    input-channel="describeAccountLogPubSub2"
    output-channel="channel1"
    xsl-resource="classpath:xsl/dummy.xslt"
    id="describeAccountRequestLogTransformer">
    </int-xml:xslt-transformer>

    Will work, but :

    <int-xml:xslt-transformer
    input-channel="describeAccountLogPubSub2"
    output-channel="channel1"
    xsl-resource="classpath:xsl/dummy.xslt"
    id="describeAccountRequestLogTransformer">
    </int-xml:xslt-transformer>

    <intublish-subscribe-channel id="describeAccountLogPubSub2" />

    will throw :

    onfiguration problem: Invalid bean definition with name 'describeAccountLogPubSub2' defined in null: Cannot register bean definition [Generic bean: class [org.springframework.integration.channel.PublishSub scribeChannel]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] for bean 'describeAccountLogPubSub2': There is already [Generic bean: class [org.springframework.integration.channel.DirectChan nel]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null] bound.
    Offending resource: class path resource [inverse-context.xml]


    Find here a project that reproduces it. (can't attach .tar.gz)

    What do you think, bug or feature?

  • #2
    Victor, you've attached something else. Its not SI project. There is only two .js files

    Comment


    • #3
      Ops!

      http://dl.dropbox.com/u/7823955/orderTest.tar.gz

      Comment

      Working...
      X