From user-return-8024-archive-asf-public=cust-asf.ponee.io@uima.apache.org Tue Feb 5 16:03:36 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 556B918067A for ; Tue, 5 Feb 2019 17:03:36 +0100 (CET) Received: (qmail 76493 invoked by uid 500); 5 Feb 2019 16:03:35 -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 Received: (qmail 76458 invoked by uid 99); 5 Feb 2019 16:03:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2019 16:03:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 27A8AC2777; Tue, 5 Feb 2019 16:03:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2 X-Spam-Level: ** X-Spam-Status: No, score=2 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ySFlGwOoLPF7; Tue, 5 Feb 2019 16:03:32 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 38746623E8; Tue, 5 Feb 2019 16:03:32 +0000 (UTC) Received: by mail-ed1-f54.google.com with SMTP id x30so3312107edx.2; Tue, 05 Feb 2019 08:03:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JOBYDQdT9p1sytSQcF2X5ezTOL6Qpjic4md8RU+Cgvs=; b=Q3zmUNaNUDyK2tQuIJaEWC7/YP6JmQYdlxqGgBvzHniw0WgG0mQXZLN8CGYLxIThlm rRE5x8ZO5AKF59xD1AIbCOLIQ20+N3W7N/nTz9BWjvpwuASp/DhdrJTIHdgt8SNX3JBO 7NwzlYdiw4D9l+NQ6/n51S7aqtZKa2UaHan+9r7SDyGlNmqkntnreQbNe4xXDJKgzZJG Bsn7ouBX69O7dTK6ZMYuqphYnwQU/Jb+Q6PPWi19d4gcvAHtKxXTUD5JkaM4o/4cZvp1 dsy+ZQiwEBiR9kBvxjKzRt3q69Chn2rb9ZotttlumkGEiZqkYrog5xc1VKBEz9XZx/B7 jxMA== X-Gm-Message-State: AHQUAuZvsxBz56imZUjY5d1Z7u1pkZWZYrdrFTxEglkAD/6yRF0HVkch zEQqTynhqYbJ9UITvqoJh+/9cjqi0WzXOLSnI0gLPbEw X-Google-Smtp-Source: AHgI3IY7S019TzGEbxMuXK7hzK6Kp6hlq+/FNS14dgoCf7771cLQaub8aykwY73Mb3X1JHZMGEHYskEqquKCxBtQTYM= X-Received: by 2002:a17:906:1f06:: with SMTP id w6mr4132143ejj.132.1549382611529; Tue, 05 Feb 2019 08:03:31 -0800 (PST) MIME-Version: 1.0 References: <555973255.1899696.1549297532214.ref@mail.yahoo.com> <555973255.1899696.1549297532214@mail.yahoo.com> In-Reply-To: <555973255.1899696.1549297532214@mail.yahoo.com> From: Jaroslaw Cwiklik Date: Tue, 5 Feb 2019 11:03:21 -0500 Message-ID: Subject: Re: UIMA and ActiveMQ? To: dev Cc: "user@uima.apache.org" , Wahed Hemati , Daniel Baumartz Content-Type: multipart/alternative; boundary="0000000000002e7301058127c03c" --0000000000002e7301058127c03c Content-Type: text/plain; charset="UTF-8" Hi, yes UIMA-AS service has multiple async consumers. The GetMeta consumer responds to clients asking for service metadata. The Process consumer handles client's process requests (invoking processing pipelines). And the Target consumer enables clients to target specific service instance.These consumers are independently scaled and configured in a deployment descriptor. Each consumer segments messages it wants to receive from a common queue using JMS Selector. Both Process and GetMeta requests support error handling which can also be defined in the deployment descriptor. The service uses Spring JMS default listener to ingest JMS messages from a service queue. The general flow of messages is a follows: Listener > InputChannel > MessageHandler > Controller > AnalysisEngine > OutputChannel Currently, there is no documentation about UIMA-AS internals. The general documentation for UIMA, UIMA-AS and DUCC are here: https://uima.apache.org/documentation.html -Jerry On Mon, Feb 4, 2019 at 5:27 PM armin dadras wrote: > Hey there, > We are currently looking into ActiveMQ and what the Broker does when we > start a service instance. UIMA seems to start three consumers for each > instance, and we don't really get behind what each of them is doing. We > have a few questions: -in which UIMA class can we look up the function of > those three consumers / where they are created > -is it possible to regulate consumer regarding recourses used on them, > does this even make sense or is it allready optimized > -do you have generell documentation about the dataflow/architecture of > UIMA/Ducc when processing data? Like the single steps during communication > with ActiveMQ? > Thank in advancceFlorian and Armin > > > > --0000000000002e7301058127c03c--