<?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:camel="http://camel.apache.org/schema/spring" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camel:camelContext id="coreRouterContext"> <camel:route> <camel:from uri="direct:router" /> <camel:filter> <camel:ognl> request.body.headers.CHANNEL_ID eq "10" </camel:ognl> <camel:to uri="bean:exchanger?method=allTo" /> <camel:to uri="bean:clientManager" /> </camel:filter> <camel:filter> <camel:ognl> request.body.headers.CHANNEL_ID eq "50" </camel:ognl> <camel:to uri="bean:unpack10?method=unPack" /> <camel:filter> <camel:ognl> request.body.headers.TRAN_CODE eq "819001" </camel:ognl> <camel:to uri="bean:businessdb?method=asyncTransform" /> <camel:stop /> </camel:filter> </camel:filter> </camel:route> </camel:camelContext> ======================================================== This is an example of my configuration! "businessdb" is an osgi serviceļ¼The version of spring osgi which i used is 1.2.1.Thanks
-- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-5-0-startup-exception-tp4381307p4381523.html Sent from the Camel - Users mailing list archive at Nabble.com.