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 B046111DE1 for ; Fri, 15 Aug 2014 21:30:03 +0000 (UTC) Received: (qmail 58294 invoked by uid 500); 15 Aug 2014 21:30:03 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 58242 invoked by uid 500); 15 Aug 2014 21:30:03 -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 Received: (qmail 58229 invoked by uid 99); 15 Aug 2014 21:30:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 21:30:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nrkkalyan@gmail.com designates 209.85.212.181 as permitted sender) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Aug 2014 21:29:37 +0000 Received: by mail-wi0-f181.google.com with SMTP id bs8so1339306wib.8 for ; Fri, 15 Aug 2014 14:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=9blCmWARy6Ei2MKxg9yx8qfFx6YLmiq37JJ+9sElv8I=; b=fMOvl7gsDIZD1OFUrVGeJFu8OdoVuQ5gj58u94ob4G60YvVP/ZUDc6ixzUuMigo4kX I5dWUdLXrkq2w+9puyk4DDsTPGQaA3z2q+pq1VYkZnJ/+D5J31U5G0M+gE5YFQa4Y8po Y3cBeMhI/6TfpbgYE/7knnbDrVGMBu6MlNfEpb5DmI152cyBPZg8V2/RPTVtI2IdeCgu y7ZfMlcj+XMHfr9YhkqqGi1nUd7kOpqazDfgZKXDivv8cOJYcTzlFXXku+tGCq6JD37k lfF5NeP7sxoplhr5wmiwcUu1v9Bm1G0FqkvhNI/K1n9xHxRh1b3sks1/RNrmrVmxFzDH L1Kw== X-Received: by 10.194.238.195 with SMTP id vm3mr31648wjc.91.1408138176821; Fri, 15 Aug 2014 14:29:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.205.198 with HTTP; Fri, 15 Aug 2014 14:29:16 -0700 (PDT) From: Radhakrishna Kalyan Date: Fri, 15 Aug 2014 23:29:16 +0200 Message-ID: Subject: Need help To: users@camel.apache.org Content-Type: multipart/alternative; boundary=089e013d14bcd301480500b1b7cf X-Virus-Checked: Checked by ClamAV on apache.org --089e013d14bcd301480500b1b7cf Content-Type: text/plain; charset=UTF-8 Hi I am very new to camel. I have a very basic question. I have a standalone application, and I want to download a message from a jms queue and email it to some address. This should happen when ever someone sends a message to that queue. I tried but the application is getting terminated after sending email, the application does not wait for the next message to come to the queue. Any pointers how I can solve. Do I need to use any demon thread running infinitely. -- Thanks and Regards N Radhakrishna Kalyan P: +46 733 312 584 http://about.me/nrkkalyan --089e013d14bcd301480500b1b7cf--