java - Can't set "input-channel" on service-activator in spring integration? -


i'm trying run tests spring integration , i'm running strange error.

enter image description here

it's telling me can't have input-channel on service-activator, i've done several times before, , in the documentation it's used on place.

here's namespace config.

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:int="http://www.springframework.org/schema/integration" xmlns:file="http://www.springframework.org/schema/integration/file" xmlns:feed="http://www.springframework.org/schema/integration/feed" xmlns:jms="http://www.springframework.org/schema/integration/jms" xsi:schemalocation="http://www.springframework.org/schema/integration/feed http://www.springframework.org/schema/integration/feed/spring-integration-feed.xsd     http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd     http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd     http://www.springframework.org/schema/integration/file http://www.springframework.org/schema/integration/file/spring-integration-file.xsd     http://www.springframework.org/schema/integration/jms http://www.springframework.org/schema/integration/jms/spring-integration-jms.xsd"> 

that problem if ide. looks eclipse.

try switch on spring nature project.

or disagree , go ahead development.

the runtime tell if not right.

on other hand consider move away xml configuration in favor of java dsl and/or annotation support.

and yes, try upgrade latest version - 2.0.0.rc1 very-very old.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -