I'm getting the following error at start-up when trying to use the Exception-type-router.
Configuration problem: Cannot locate BeanDefinitionParser for element [exception-type-router]
Here is the configuration file
What did I miss?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" xmlns:task="http://www.springframework.org/schema/task" xmlns:jdbc="http://www.springframework.org/schema/integration/jdbc" xmlns:int-jms="http://www.springframework.org/schema/integration/jms" xsi:schemaLocation="http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-2.1.xsd http://www.springframework.org/schema/integration/jms http://www.springframework.org/schema/integration/jms/spring-integration-jms.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/integration/jdbc http://www.springframework.org/schema/integration/jdbc/spring-integration-jdbc.xsd"> <int:exception-type-router input-channel="errorChannel" default-output-channel="failedChannel"> <int:mapping exception-type="java.lang.IllegalArgumentException" channel="delayChannel" /> </int:exception-type-router> <int:channel id="delayChannel"/> <int:channel id="failedChannel"/> </beans>


Reply With Quote