You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by veraniego <fr...@gmail.com> on 2010/01/21 16:56:02 UTC

Re: o endpoint, service or interface name specified for routing: Camel -> JBI

Hi!!

I'm facing the same problem...

Did you solve it??

thank you




lekkie wrote:
> 
> 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
> {http://servicemix.org/wsnotification}NotificationBroker:
> {http://servicemix.org/wsnotification}Publisher:Anonymous
> {http://servicemix.org/wsnotification}CreatePullPoint:Bro
> {http://tempuri.org/}Service:ServiceSoap
> {http://tempuri.org/}ServiceConsumer:ServiceSoapConsumer
> I can successfully send a request from
> {http://tempuri.org/}Service:ServiceSoap to
> {http://tempuri.org/}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.
> <route>
> <from uri="nmr:nauRoute"/>
> <to uri="jbi:endpoint:http://tempuri.org/Service/ServiceSoap" />
> </route>
> 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
> 

-- 
View this message in context: http://old.nabble.com/o-endpoint%2C-service-or-interface-name-specified-for-routing%3A-Camel--%3E-JBI-tp26710708p27259981.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: o endpoint, service or interface name specified for routing: Camel -> JBI

Posted by lekkie <le...@gmail.com>.
You shld use <to uri="nmr:{http://tempuri.org}Service:ServiceSoap" />
instead.





veraniego wrote:
> 
> Hi!!
> 
> I'm facing the same problem...
> 
> Did you solve it??
> 
> thank you
> 
> 
> 
> 
> lekkie wrote:
>> 
>> 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
>> {http://servicemix.org/wsnotification}NotificationBroker:
>> {http://servicemix.org/wsnotification}Publisher:Anonymous
>> {http://servicemix.org/wsnotification}CreatePullPoint:Bro
>> {http://tempuri.org/}Service:ServiceSoap
>> {http://tempuri.org/}ServiceConsumer:ServiceSoapConsumer
>> I can successfully send a request from
>> {http://tempuri.org/}Service:ServiceSoap to
>> {http://tempuri.org/}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.
>> <route>
>> <from uri="nmr:nauRoute"/>
>> <to uri="jbi:endpoint:http://tempuri.org/Service/ServiceSoap" />
>> </route>
>> 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
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/o-endpoint%2C-service-or-interface-name-specified-for-routing%3A-Camel--%3E-JBI-tp26710708p27264408.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.