Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-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 6EF471820C for ; Sat, 9 Jan 2016 00:56:57 +0000 (UTC) Received: (qmail 29535 invoked by uid 500); 9 Jan 2016 00:56:57 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 29480 invoked by uid 500); 9 Jan 2016 00:56:57 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 29467 invoked by uid 99); 9 Jan 2016 00:56:56 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2016 00:56:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 455211A0410 for ; Sat, 9 Jan 2016 00:56:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 60yvfAtzXfak for ; Sat, 9 Jan 2016 00:56:55 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B2C1920511 for ; Sat, 9 Jan 2016 00:56:54 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id a123so169712576vkh.1 for ; Fri, 08 Jan 2016 16:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DQwFAlFKYmqjvD82pIbOYgA7vn+sQcItx1WlRzqA6k0=; b=tkO//j+uX15bWDUst8M3RLSCbbRVHDYz4a/aK35KK0hBUiY0SmF9BlYGeiRHzhnv2f vAUpRVXRZjbuw4iM8zo0A7i0AniFUhH2rjubJmAe0pa8asQ6WiAIMYzLBHH0XUrN7HIY lhUHF7oYcXlkUlnXN/ygNHuKdRAEIBo7ZTteDRv+TYgGfPuCkEmmV5DFzeAt9bIzau0S FcBeddgvCs/rpXG1gOPZrayHf8w46bYLfmZdQnhMvamP7zKaTSOUF167begkNHRNUwUy fLSvXX6jMQqh25vYs3pY7YdKebslmG9zTx/its7ma/fWRc/e3DLrID3HaOGQ4GjP7cKH 0Gvg== MIME-Version: 1.0 X-Received: by 10.31.158.18 with SMTP id h18mr73369272vke.65.1452301013440; Fri, 08 Jan 2016 16:56:53 -0800 (PST) Received: by 10.31.172.210 with HTTP; Fri, 8 Jan 2016 16:56:53 -0800 (PST) In-Reply-To: <1452289328.4447.10.camel@apache.org> References: <1451934569.26502.5.camel@apache.org> <1452289328.4447.10.camel@apache.org> Date: Fri, 8 Jan 2016 19:56:53 -0500 Message-ID: Subject: Re: Osgi and the TCCL and the async client From: Benson Margulies To: HttpClient User Discussion Content-Type: text/plain; charset=UTF-8 On Fri, Jan 8, 2016 at 4:42 PM, Oleg Kalnichevski wrote: > On Tue, 2016-01-05 at 07:57 -0500, Benson Margulies wrote: >> On Tue, Jan 5, 2016 at 12:50 AM, Alexey Panchenko >> wrote: >> > Hi guys, >> > > > ... > >> Here's the advantage of this for some situations. Imagine a >> pre-existing executor service that does not give you a way to >> influence the thread factory. If Async Http was an example of an API >> that took an ExecutorService, this would allow TCCL management for >> someone who could not influence the executor service's choice of >> thread factory. At least, that's what I think that the CXF people were >> thinking. If HttpAsync already accepts a ThreadFactory rather than an >> Executor, I see agree that there's little advantage of this over #2. >> > > Hi Benson > > Would that solve the issue for you? > > http://svn.apache.org/viewvc?rev=1723805&view=rev Yes, thanks. > > Oleg > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org