Hello, I have setup eip static clip routing through 2 entities:
1)MyComponent bean - which does nothing
2)a WSN service
Everything works fine for InOut exchanges, but when I send a Notify request
which is InOnly, there is errors. I kinda understand why, cause eip static
routing is for InOut msgs, but there must be some special case code I can
add to not cause an error. I do not know what/where this code would be...
ERROR - WSNComponent - Error processing exchange InOut[
id: ID:x.x.x.x-29sjegkkdf9-10:3
status: Done
role: provider
service: {http://servicemix.org/wsnotification}NotificationBroker
endpoint: Broker
in: <?xml version="1.0" encoding="UTF-8"?>
]
javax.jbi.messaging.MessagingException: illegal exchange status: done
at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(Me
ssageExchangeImpl.java:626)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(Delive
ryChannelImpl.java:385)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(Delivery
ChannelImpl.java:431)
at
org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.j
ava:169)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi
feCycle.java:552)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async
BaseLifeCycle.java:504)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
Cycle.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun
d(DeliveryChannelImpl.java:620)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:172)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j
ava:167)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav
a:134)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:619)
--
View this message in context:
http://www.nabble.com/eip-static-slip-and-wsn-tp23049664p23049664.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.