Re: camel + cometd + jms

2010-03-17 Thread Charles Moulliard
yep. Info is in the javadoc. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.li

Re: camel + cometd + jms

2010-03-17 Thread Claus Ibsen
On Wed, Mar 17, 2010 at 12:47 PM, Charles Moulliard wrote: > Hi, > > I have find the solution. > > My template was called like template.requestBody("activemq:stock", stock) > and not like > template.sendBody("activemq:stock", stock) > > Can we said that requestBody = InOut and sendBody = InOnly fo

Re: camel + cometd + jms

2010-03-17 Thread john robens
Charles I spent a fair bit of time on this. Should be doable in Camel 2.2. Are you using the camel plugin? It will need rewriting. http://www.mail-archive.com/users@camel.apache.org/msg06003.html Otherwise I got it working by making sure there was a processor class. service has: de

Re: camel + cometd + jms

2010-03-17 Thread Willem Jiang
Hi Charles, The exception is caused by there is no service which consume the queue's message and put the response back. If you just want to send the message to queue, you just call the template's send method with MEP to InOnly. Willem Charles Moulliard wrote: Hi, I have created a camel rou

Re: camel + cometd + jms

2010-03-17 Thread Charles Moulliard
Hi, I have find the solution. My template was called like template.requestBody("activemq:stock", stock) and not like template.sendBody("activemq:stock", stock) Can we said that requestBody = InOut and sendBody = InOnly for JMS ? Kind regards, Charles Moulliard Senior Enterprise Architect Apach

camel + cometd + jms

2010-03-17 Thread Charles Moulliard
Hi, I have created a camel route where a timer calls every 5 seconds a bean. The bean is a ProducerTemplate who will generate an object and place it on an ActiveMq queue. http://camel.apache.org/schema/spring";> org.apache.camel.cometd