Hi,
I can't tell anything wrong with your camel route.
Can you create a simple test bundle which is based on your case and send
it to me?
Maybe you can remove the businessdb part and test again.
Willem
On 5/9/11 6:35 PM, Bingliu wrote:
<?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.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com