Could you post the stack trace / error please ? Cheers, Guillaume Nodet
On 6/7/06, echolu <[EMAIL PROTECTED]> wrote:
I have writed a xbean.xml, and zip it as eiptest-su.zip. But when i deploy the SA which contians the eiptest-su.zip, it resports that can't deploy the xbean service unit. Please give some tips! Thanks! xbean.xml is just like following: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:eip="http://servicemix.apache.org/eip/1.0" xmlns:test="http://test" > <eip:xpath-splitter service="test:xpathSplitter" endpoint="endpoint" xpath="/*/*" namespaceContext="#nsContext"> <eip:target> <eip:exchange-target uri="service:http://test/router" /> </eip:target> </eip:xpath-splitter> <eip:content-based-router service="test:router" endpoint="endpoint"> <eip:rules> <eip:routing-rule> <eip:predicate> <eip:xpath-predicate xpath="count(/test:echo) = 1" namespaceContext="#nsContext" /> </eip:predicate> <eip:target> <eip:exchange-target service="test:echo1"" /> </eip:target> </eip:routing-rule> <eip:routing-rule> <!-- there is no predicate, so this is the default destination --> eip:target> <eip:exchange-target service="test:echo2" /> </eip:target> </eip:routing-rule> </eip:rules> </eip:content-based-router> <!-- START SNIPPET: namespace-context --> <eip:namespace-context id="nsContext"> <eip:namespaces> <eip:namespace prefix="test">http://test </eip:namespace> </eip:namespaces> </eip:namespace-context> <!-- END SNIPPET: namespace-context --> </beans> -- View this message in context: http://www.nabble.com/How-to-deploy-the-EIP-in-the--SU--t1747531.html#a4750165 Sent from the ServiceMix - User forum at Nabble.com.
