HI ---
I try create a wsn subscription with a ConsumerReference of:
http://127.0.0.1:4862/aaa/
I have server listening on 127.0.0.1:4862 for msgs.
When I send Notify msg I get ServiceMixException: Could not dispatch
exchange. No matching endpoints.
Any idea why this may be?
Below is partial DEBUG log. This is fuse esb 4.2.
---------------------------
11:33:10,159 | DEBUG | eMQ Session Task | WSNComponent
| icemix.common.AsyncBaseLifeCycle 653 | Created correlation id:
2ca59b2b-d0f7-48de-a04f-66794aa1c7fc
11:33:10,159 | DEBUG | eMQ Session Task | NMR
| .servicemix.nmr.core.ChannelImpl 274 | Channel
org.apache.servicemix.nmr.core.channeli...@1b7465a dispatching
exchange: [
id: 2ca59b2b-d0f7-48de-a04f-66794aa1c7fc
mep: InOnly
status: Active
role: Consumer
target:
PropertyMatchingReference[{SERVICE_NAME={urn:servicemix:http}HttpComponent,
ENDPOINT_NAME=http://127.0.0.1:4862/aaa/}]
properties: [
javax.jbi.ServiceEndpoint =
org.apache.servicemix.common.resolvedendpo...@1af3479
javax.jbi.messaging.MessageExchange =
org.apache.servicemix.jbi.runtime.impl.inonlyi...@1c4c852
javax.jbi.messaging.sendSync = <null>
org.apache.servicemix.correlationId = 2ca59b2b-d0f7-48de-a04f-66794aa1c7fc
javax.jbi.transaction.jta = <null>
org.apache.servicemix.senderEndpoint =
{http://servicemix.org/wsnotification}Subscription:ID-112-11-10-10-127f2a10a11-0-15
]
In: [
content: <?xml version="1.0" encoding="UTF-8"?><ns2:Notify
xmlns:ns2="http://docs.oasis-open.org/wsn/b-2"
xmlns="http://www.w3.org/2005/08/addressing"
xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2"
xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2"
xmlns:ns5="http://docs.oasis-open.org/wsn/t-1"><ns2:NotificationMessage><ns2:Topic
Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">test</ns2:Topic><ns2:Message><aaa
xmlns="" xmlns:b="http://docs.oasis-open.org/wsn/b-2"
xmlns:ns6="http://www.w3.org/2005/08/addressing">bbb</aaa></ns2:Message></ns2:NotificationMessage></ns2:Notify>
]
]
11:33:10,159 | WARN | eMQ Session Task | NMR
| .servicemix.nmr.core.ChannelImpl 293 | Error processing
exchange [
id: 2ca59b2b-d0f7-48de-a04f-66794aa1c7fc
mep: InOnly
status: Active
role: Consumer
target:
PropertyMatchingReference[{SERVICE_NAME={urn:servicemix:http}HttpComponent,
ENDPOINT_NAME=http://127.0.0.1:4862/aaa/}]
properties: [
javax.jbi.ServiceEndpoint =
org.apache.servicemix.common.resolvedendpo...@1af3479
javax.jbi.messaging.MessageExchange =
org.apache.servicemix.jbi.runtime.impl.inonlyi...@1c4c852
javax.jbi.messaging.sendSync = <null>
org.apache.servicemix.correlationId = 2ca59b2b-d0f7-48de-a04f-66794aa1c7fc
javax.jbi.transaction.jta = <null>
org.apache.servicemix.senderEndpoint =
{http://servicemix.org/wsnotification}Subscription:ID-112-11-10-10-127f2a10a11-0-15
]
In: [
content: <?xml version="1.0" encoding="UTF-8"?><ns2:Notify
xmlns:ns2="http://docs.oasis-open.org/wsn/b-2"
xmlns="http://www.w3.org/2005/08/addressing"
xmlns:ns3="http://docs.oasis-open.org/wsrf/bf-2"
xmlns:ns4="http://docs.oasis-open.org/wsrf/rp-2"
xmlns:ns5="http://docs.oasis-open.org/wsn/t-1"><ns2:NotificationMessage><ns2:Topic
Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">test</ns2:Topic><ns2:Message><aaa
xmlns="" xmlns:b="http://docs.oasis-open.org/wsn/b-2"
xmlns:ns6="http://www.w3.org/2005/08/addressing">bbb</aaa></ns2:Message></ns2:NotificationMessage></ns2:Notify>
]
]
org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch
exchange. No matching endpoints.
at
org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:110)
at
org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:286)
at org.apache.servicemix.nmr.core.ChannelImpl.send(ChannelImpl.java:117)
at
org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.send(DeliveryChannelImpl.java:178)
at
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:89)
at
org.apache.servicemix.wsn.jbi.JbiSubscription.doNotify(JbiSubscription.java:137)
at
org.apache.servicemix.wsn.jms.JmsSubscription.onMessage(JmsSubscription.java:193)
at
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1089)
at
org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)
11:33:10,159 | WARN | eMQ Session Task | JmsSubscription
| rvicemix.wsn.jms.JmsSubscription 197 | Error notifying consumer
org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch
exchange. No matching endpoints.
at
org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:110)
at
org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:286)
at org.apache.servicemix.nmr.core.ChannelImpl.send(ChannelImpl.java:117)
at
org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.send(DeliveryChannelImpl.java:178)
at
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:89)
at
org.apache.servicemix.wsn.jbi.JbiSubscription.doNotify(JbiSubscription.java:137)
at
org.apache.servicemix.wsn.jms.JmsSubscription.onMessage(JmsSubscription.java:193)
at
org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1089)
at
org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
at
org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
at
org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at
org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:595)