Hi,

it looks that the JBI target endpoint is not found. Check the URL that you use 
to access to the target service/endpoint.

Regards
JB


On Tue 05/07/11 12:05 , pchakinala  wrote::

Hi,
  I am building OSGI Component and usecase flow is like below.

HTTP Client --->servicemix-http consumer  ---> camel route ---> servicemix
http provider ---> out side service

I am using nmr component to build the route.


bean.xml :
--------

        
            
        
    




          http://0.0.0.0:8192/manuTransmit/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-only"; />

 http://camel.apache.org/schema/spring";>;
   
    
  
       http://planetsoft.com/picf2/sendMsg/endpoint"/>;
  
       
          
        http://planetsoft.com/picf2/httpMEF/endpoint?mep=in-out";
/>  
                                                          
    
  
     
http://www.w3.org/2004/08/wsdl/in-out";
                                
locationURI="http://localhost:8080/jsp-examples/checkbox/mefACK.jsp"/>;  
Exception:
rg.apache.servicemix.senderEndpoint =
{http://planetsoft.com/picf2}httpManuTransmit:endpoint
      javax.jbi.messaging.MessageExchange =
org.apache.servicemix.jbi.runtime.impl.InOnlyImpl@db6d37
      javax.jbi.messaging.sendSync = 
      javax.jbi.InterfaceName = 
      javax.jbi.transaction.jta = 
      org.apache.servicemix.correlationId =
f2c3573c-3ba2-4356-ba1c-496f8e1d343e
      javax.jbi.ServiceName = {http://planetsoft.com/picf2}sendMsg
  ]
]

15:23:23,843 | WARN  | - /manuTransmit/ | NMR                              |
83 - org.apache.servicemix.nmr.core - 1.4.0 | Error processing exchange [
  id:        f2c3573c-3ba2-4356-ba1c-496f8e1d343e
  mep:       InOnly
  status:    Active
  role:      Consumer
  target:   
PropertyMatchingReference[{SERVICE_NAME={http://planetsoft.com/picf2}sendMsg}]
  properties: [
      org.apache.servicemix.senderEndpoint =
{http://planetsoft.com/picf2}httpManuTransmit:endpoint
      javax.jbi.messaging.MessageExchange =
org.apache.servicemix.jbi.runtime.impl.InOnlyImpl@db6d37
      javax.jbi.messaging.sendSync = 
      javax.jbi.InterfaceName = 
      javax.jbi.transaction.jta = 
      org.apache.servicemix.correlationId =
f2c3573c-3ba2-4356-ba1c-496f8e1d343e
      javax.jbi.ServiceName = {http://planetsoft.com/picf2}sendMsg
  ]
]

org.apache.servicemix.nmr.api.ServiceMixException: Could not dispatch
exchange. No matching endpoints.
        at
org.apache.servicemix.nmr.core.FlowRegistryImpl.dispatch(FlowRegistryImpl.java:110)[83:org.apache.servicemix.nmr.core:1.4.0]
        at
org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:286)[83:org.apache.servicemix.nmr.core:1.4.0]
        at
org.apache.servicemix.nmr.core.ChannelImpl.send(ChannelImpl.java:117)[83:org.apache.servicemix.nmr.core:1.4.0]
        at
org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.send(DeliveryChannelImpl.java:178)[122:org.apache.servicemix.jbi.runtime:1.4.0]
        at
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:89)[121:servicemix-common:2011.01.0]
        at
org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:177)[162:servicemix-http:2011.01.0]
        at
org.apache.servicemix.http.HttpBridgeServlet.service(HttpBridgeServlet.java:56)[162:servicemix-http:2011.01.0]
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[93:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0]
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.Server.handle(Server.java:322)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
        at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)[94:org.apache.servicemix.bundles.jetty:6.1.25.1]
15:23:23,890 | WARN  | - /manuTransmit/ | jetty                            |
133 - org.ops4j.pax.web.pax-web-jetty - 0.7.4 | /manuTransmit/



Please suggest me is there any issue in creating camel from,to endpoint
cofiguration. Please find attached source files.

Regards,
Praveen Chakinala
http://servicemix.396122.n5.nabble.com/file/n4552746/issue.zip issue.zip 



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/camel-nmr-endpoint-Servicemix-4-x-tp4552746p4552746.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.



Reply via email to