Hi What does your SayService interface look like? And how is it wired in the config file? (serviceRef="sayService")
At least the exception is indicating that it could not find a suitable method to invoke. /Claus Carsten Krebs wrote: > > Hi, > > I'm trying to get the > http://activemq.apache.org/camel/spring-remoting.html spring remoting > example working. I slightly modified the example, by replacing the direct > routes with an activemq route: > > on the client side the camel context is declared as followed: > > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <proxy id="sayProxy" > > serviceUrl="activemq:topic:org.apache.camel.spring.remoting.ISay" > > serviceInterface="org.apache.camel.spring.remoting.ISay" /> > </camelContext> > > and on the remote side the camel context looks like: > > <camelContext id="camel" > xmlns="http://activemq.apache.org/camel/schema/spring"> > > <export id="say" > > uri="activemq:topic:org.apache.camel.spring.remoting.ISay" > serviceRef="sayService" > > serviceInterface="org.apache.camel.spring.remoting.ISay" /> > > </camelContext> > > but whenever I'm running the example I'm getting an IllegalStateException > on the remote side: > > org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: > No method invocation could be created, no maching method could be found > on: [EMAIL PROTECTED] > at > org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:59) > at > org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:510) > at > org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:445) > > > Any suggestions what I'm doing wrong? > I'm using Camel 1.2.0 bundled with ActiveMQ 5.0.0 > > TIA, > > Carsten > > -- View this message in context: http://www.nabble.com/spring-remoting-over-jms-tp14640388s22882p14646178.html Sent from the Camel - Users mailing list archive at Nabble.com.
