2 Replies Latest reply on Dec 28, 2009 6:55 AM by Lekan Omotayo

    Sending messages to jbi endpoints from camel application

    Lekan Omotayo Expert

      Hi guys,

       

      I have a cxfbc jbi package into an OSGi. When I list my nmr contents here is what I have:

       

      .....

      servicemix-http

      servicemix-jms

      root

      servicemix-wsn2005

      NotificationBroker:

      Publisher:Anonymous

      CreatePullPoint:Bro

      Service:ServiceSoap

      ServiceConsumer:ServiceSoapConsumer

       

       

      I can successfully send a request from Service:ServiceSoap to ServiceConsumer:ServiceSoapConsumer using the SoapUI tool.

       

      However, when I try to send from a camel application the ESB kept sayin no matching endpoints. Here is my configuration.

       

       

       

       

       

      Here is the err msg:

      12:48:17,929 | ERROR | tenerContainer-1 | EndpointMessageListener          | rg.apache.camel.processor.Logger  248 | java.lang.IllegalStateException: No endpoint, service or interface name specified for routing

      org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: No endpoint, service or interface name specified for routing

           at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1037)

           at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:103)

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543)

           at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)

           at java.lang.Thread.run(Thread.java:595)

      Caused by: java.lang.IllegalStateException: No endpoint, service or interface name specified for routing