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 4B315C48E for ; Tue, 23 Jul 2013 07:43:58 +0000 (UTC) Received: (qmail 96858 invoked by uid 500); 23 Jul 2013 07:43:53 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 96783 invoked by uid 500); 23 Jul 2013 07:43:51 -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 96766 invoked by uid 99); 23 Jul 2013 07:43:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 07:43:49 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.30.104] (HELO www221.your-server.de) (188.40.30.104) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 07:43:43 +0000 Received: from [212.185.43.193] (helo=[10.252.22.251]) by www221.your-server.de with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.74) (envelope-from ) id 1V1XFi-0005Fj-Sj for users@camel.apache.org; Tue, 23 Jul 2013 09:43:23 +0200 User-Agent: Microsoft-MacOutlook/14.3.6.130613 Date: Tue, 23 Jul 2013 09:43:17 +0200 Subject: Re: Camel Thread does not terminate From: Andreas Gies To: Message-ID: Thread-Topic: Camel Thread does not terminate In-Reply-To: <1374557187717-5736060.post@n5.nabble.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Authenticated-Sender: andreas@wayofquality.de X-Virus-Scanned: Clear (ClamAV 0.97.6/17554/Tue Jul 23 06:44:26 2013) X-Virus-Checked: Checked by ClamAV on apache.org Hi, It might be my complete ignorance of the problem, but have you considered to leave your context happily running and take advantage of the many mechanisms in Camel to leverage Thread pools and the like ? Just my 2 ct Andreas Am 7/23/13(30) 7:26 AM schrieb "SyedBhai" unter : >No. That doesn't help. Because it will shutdown the jvm. >My project is a web app. It keeps serving incoming requests. For serving >each request it uses camel framework. >I am creating a thread for each request. The problem I may be facing is >that this thread does not terminate because of using camel. So I wanted >to >know how to stop this thread. >Can someone help please? > >Thanks, >Syed. > > > >-- >View this message in context: >http://camel.465427.n5.nabble.com/Camel-Thread-does-not-terminate-tp573604 >5p5736060.html >Sent from the Camel - Users mailing list archive at Nabble.com.