0 Replies Latest reply on Jul 15, 2010 7:07 PM by ngaurav

    Problem with camel nmr in servicemix 4.2

    ngaurav

      Hi,

      I am trying to communicate across different camel contexts using camel nmr component. I am using camel 2.2 and servicemix 4.2. I have installed "nmr" and "camel-nmr" features in servicemix. I have also imported the packages org.apache.servicemix.camel.nmr, org.apache.servicemix.nmr.api in pom.xml. I have also put the following reference in spring xml:

       

      Exhausted after delivery attempt: 1 caught: org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch exchange. No matching endpoints.

      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.sendSync(ChannelImpl.java:141)

           at org.apache.servicemix.nmr.core.ChannelImpl.sendSync(ChannelImpl.java:127)

           at org.apache.servicemix.camel.nmr.ServiceMixProducer.process(ServiceMixProducer.java:58)

           at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:97)

           at org.apache.camel.processor.SendProcessor$1.doInProducer(SendProcessor.java:95)

      .

      .

      .

       

      I can see that the header is set. I think there is something wrong with the way I am using nmr. Can someone help me out please?

       

      Thanks