Hi, Is it possible that you could post the full working example for your jms-remoting code. I'm downloaded the CamelWithJmsWithSpring example but I'm having difficultly understanding it. I'd like to see an example were the client and server are seperated into seperate projects.
The reason for this is I have a use case were files will be uploaded to a web server, I want to published these files to a file server though a DMZ and also publish it to a queue for further processing. The files could be quite large , up to 10MB so I had hope to use the Blob Messages component of activemq. -Paddy 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-tp14640388s22882p16894915.html Sent from the Camel - Users mailing list archive at Nabble.com.
