I rebuild project for Sevicemix 3.1-incubating and get:

<stack-trace><![CDATA[javax.jbi.management.DeploymentException: Error
validating xpath expression
        at
org.apache.servicemix.eip.patterns.XPathSplitter.validate(XPathSplitter.java:59)
        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:92)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:527)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:334)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:645)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:608)
        at java.util.TimerThread.mainLoop(Unknown Source)
        at java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: You must specify the xpath
property
        at
org.apache.servicemix.expression.JAXPXPathExpression.afterPropertiesSet(JAXPXPathExpression.java:69)
        at
org.apache.servicemix.eip.patterns.XPathSplitter.validate(XPathSplitter.java:57)
        ... 12 more
]]></stack-trace>

I don't know what is can be...

may be I forgot smth else... this is my part of xbean for config
xpath-splitter:

<eip:xpath-splitter service="collector:taskSplitter" xpath="/*/*"
endpoint="taskSplitter">
        <eip:target>
                <eip:exchange-target service="collector:router"/>
        </eip:target>
</eip:xpath-splitter>


xujingguo wrote:
> 
> I AM SORRY TO SAY I THINK IT IS NOT FOR THE REASON OF SERVICEMIX' VERSION.
> 


-- 
View this message in context: 
http://www.nabble.com/problem-with-eip%3Axpath-splitter-tf3845864s12049.html#a11189251
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to