Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B96459A1C for ; Mon, 12 Dec 2011 23:42:48 +0000 (UTC) Received: (qmail 27051 invoked by uid 500); 12 Dec 2011 23:42:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 27024 invoked by uid 500); 12 Dec 2011 23:42:48 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Delivered-To: moderator for users@camel.apache.org Received: (qmail 72918 invoked by uid 99); 12 Dec 2011 22:55:34 -0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Date: Mon, 12 Dec 2011 14:55:07 -0800 (PST) From: mattmadhavan To: users@camel.apache.org Message-ID: <1323730507181-5069797.post@n5.nabble.com> Subject: Basic JMS to bean In/Out Router Question MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I have been in out with this question for a while - Been pulled in different directions last few months - My apologies about it! Been spending some time on the Camel Book, starting to understand some basic concepts. I want to build a route that reads from a queue A invokes a method on a bean and send the reply to Queue B I see lots of examples like the following for inout! *from("jms:incomingOrders").inOut("jms:validate"); from("jms:validate").bean(ValidatorBean.class);* But I do not have the option of *from("jms:incomingOrders").inOut("jms:validate"); * I need some thing like the following: pick a message from a Queue invoke a method and send the reply from the method to another Queue! *from("jms:validate").bean(ValidatorBean.class /timeout=50000/).to(("jms:validateResult")) * Please note the timeout req above! Any answer will be appreciated! Thanks in advance! Matt -- View this message in context: http://camel.465427.n5.nabble.com/Basic-JMS-to-bean-In-Out-Router-Question-tp5069797p5069797.html Sent from the Camel - Users mailing list archive at Nabble.com.