Announcement Announcement Module
Collapse
No announcement yet.
Eclipse STS - reference problem for integration beans in a bean definition profile Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Eclipse STS - reference problem for integration beans in a bean definition profile

    The triggering mechanism for my flow differs depending on the system environment. I want to use bean definition profiles to wire up the different scenarios. This seems to work fine at runtime, but Eclipse STS is reporting "Spring Beans Problem" warnings for the SI components that I use in the nested beans element.

    Referenced bean 'org.springframework.scheduling.support.CronTrigge r#0' not found
    Referenced bean 'org.springframework.integration.endpoint.Expressi onEvaluatingMessageSource#0' not found

    Am I doing something wrong, or is this likely a bug? If it's a bug, should I report it against SI or STS?

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <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"
    	xsi:schemaLocation="http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-2.2.xsd
    		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
    
    	<int:channel id="channel1" />
    
    	<int:logging-channel-adapter channel="channel1" expression="payload" />
    
    	<beans profile="test">
    		<int:inbound-channel-adapter channel="channel1" expression="''">
    			<int:poller cron="0 0 6 * * *" />
    		</int:inbound-channel-adapter>
    	</beans>
    </beans>
Working...
X