On Tue, Aug 21, 2012 at 12:45 PM, agustino <[email protected]> wrote: > Hi, > > The problem occurs only when I have .to syntax inside the code. > In this case > .to("activemq://queue:OUTPUT.Q?jmsMessageType=Object&replyTo=REPLY.Q") cause > the error that was stated in the stack trace above. > > I have put replyToType=Exclusive as well but it still give me the error. >
Make sure someone is listening on OUTPUT.Q and sending back a message to REPLY.Q. You get this exception because Camel timed out after 20 seconds. You can adjust this value if you need longer timeout. > Thanks. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-use-request-reply-in-JMS-tp5717752p5717761.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
