im trying to test xpathsplliter pattern.
i deploy eip-patthen as follows.
<eip:xpath-splitter service="setest:eip-splitter-service"
endpoint="eip-splitter-endpoint"
xpath="/hello/*" namespaceContext="#nsContext">
<eip:target>
<eip:exchange-target
uri="service:http://test/eip-bean-splitter-inonly-bean-service"/>
</eip:target>
</eip:xpath-splitter>
SplliterInOnlyBean include ..
public void onMessageExchange(MessageExchange exchange) throws
MessagingException {
System.out.println("\n\n Received exchange at SplitterInOnlyBean:
\n\n" + exchange);
exchange.setStatus(ExchangeStatus.DONE);
channel.send(exchange);
}
but i got exceptions..
ERROR - SedaQueue -
org.apache.servicemix.jbi.nmr.flow.sed
[EMAIL PROTECTED] got error processing InOnly[
id: ID:CJHCOM-2204-1183119834500-4:169
status: Active
role: provider
service: {http://test}eip-bean-splitter-inonly-bean-service
endpoint: eip-bean-splitter-inonly-bean-endpoint
in: <?xml version="1.0" encoding="UTF-8"?><three/>
]
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInvocation
at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java
124)
at
org.apache.servicemix.bean.support.BeanInfo.introspect(BeanInfo.java
88)
at
org.apache.servicemix.bean.support.BeanInfo.<init>(BeanInfo.java:61)
at
org.apache.servicemix.bean.BeanEndpoint.getBeanInfo(BeanEndpoint.jav
:174)
at
org.apache.servicemix.bean.BeanEndpoint.onProviderExchange(BeanEndpo
nt.java:238)
at
org.apache.servicemix.bean.BeanEndpoint.process(BeanEndpoint.java:20
)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseL
feCycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Asyn
BaseLifeCycle.java:441)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLif
Cycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBou
d(DeliveryChannelImpl.java:593)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFl
w.java:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.
ava:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.ja
a:134)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wo
ker.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wo
ker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:619)
.........
............
what is wrong? maybe i have not understood the splliter.. please help me.
thanks
--
View this message in context:
http://www.nabble.com/EIp-XpathSplitter-problem...-tf4003905s12049.html#a11371241
Sent from the ServiceMix - User mailing list archive at Nabble.com.