Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CEC0499DB for ; Fri, 7 Oct 2011 13:46:30 +0000 (UTC) Received: (qmail 45906 invoked by uid 500); 7 Oct 2011 13:46:30 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 45870 invoked by uid 500); 7 Oct 2011 13:46:30 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Delivered-To: moderator for user@uima.apache.org Received: (qmail 9024 invoked by uid 99); 7 Oct 2011 09:15:28 -0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of d.graebner@gmail.com designates 209.85.160.175 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=f77OYGAZMbhZQKYzJwzHr8hz4zLdviRvXYgM7yG2FlU=; b=vx7RD1rhe3Sl3y8PWGyr61oyfiqk3b1cIcJt3OAH3pohKAjy0YjNsMXMjqzpzBhmmW wjSjAadRr/ZLFf0croYErNwkDuVixccWh994tBODWTymilB0q1g2XHywoXyxTb23Wh3G eLxmdyijkOSdUOa7NSh0Co3fS3GA+IxPtugw0= MIME-Version: 1.0 Date: Fri, 7 Oct 2011 11:14:59 +0200 Message-ID: Subject: UIMA AS Client connecting to multiple brokers in one vm From: =?ISO-8859-1?Q?Dietmar_Gr=E4bner?= To: user@uima.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I implemented an application instantiating multiple UIMA-AS clients. Those clients run in a single vm and may connect to brokers on different maschines. This didn't really work for me: All clients actually connected to the same broker. (sharedconnection was enabled) After a bit of code reading in the BaseUIMAAsynchronousEngine_impl.initialize and the createSharedConnection(), I guess that connection sharing (UIMA-1435) is limited to exactly one broker (per vm). Did I get this right and can you see some workaround? A possible workaround would be to deactivate connection sharing. Thx and best regards! Dietmar