Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-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 32C5D190FA for ; Mon, 25 Apr 2016 16:26:08 +0000 (UTC) Received: (qmail 44748 invoked by uid 500); 25 Apr 2016 16:26:08 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 44710 invoked by uid 500); 25 Apr 2016 16:26:08 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 44695 invoked by uid 99); 25 Apr 2016 16:26:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Apr 2016 16:26:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 44DC3180517 for ; Mon, 25 Apr 2016 16:26:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id nGE3dknl0OV9 for ; Mon, 25 Apr 2016 16:26:04 +0000 (UTC) Received: from mail-oi0-f66.google.com (mail-oi0-f66.google.com [209.85.218.66]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 29B865FADE for ; Mon, 25 Apr 2016 16:26:04 +0000 (UTC) Received: by mail-oi0-f66.google.com with SMTP id i2so23607113oib.3 for ; Mon, 25 Apr 2016 09:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=IsYvKOYFL93rCV5ywGmAesZAcLUn/Iaxwfl5nhg5F0A=; b=kL5RrqfXUnUVm/2vP3oWTtTMpRzRr1O8PiHo1jq/y0CLJFi7HfqovkOw71xDFtGK1l 5ToOEn2GFXllGyi2Dm/Xqkxe1UETeXlL9I8srAe6UMpikH8/GFPJsED6RaITPEJrzkXR 7QZdzrhm8TgVgUdi1jSRrX8jA7k+zaU+DvUSF7QATX+9EqIyJU8t5UlmYh0nnXUouxlH aTp9Z1PKHoEQnKCM+Us/fRhsbEk5htNB85iW/5Xd45cpePYGxBTF7ZyvcHBygt0GJzFM qCYKDa/8cf84jzYkCkz80jeBATAwcJDxPXlrYmtLwfm78d96O75yu/qN7Vo2oqOYz4Qz cT6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=IsYvKOYFL93rCV5ywGmAesZAcLUn/Iaxwfl5nhg5F0A=; b=do442hqX5267DgcbmvhvumaARaGRJK8S78OQxxQWmEGsdofm1PsQNVMrsdW091Kejo D6LLxysqMjNsXRT2txaPm12pxd1+JyuM+86EY1MbqO+2OqAyB7vl44OvD991wQaw8wxP ukPDCBkdEgVaDxaEICODSvxDS8I9Md/lpKZLm63Jl2Da7/oPi+bIKZVvvVSd3Z8r/30R Zc5S5+l8x1KvuAA1SR/k5ZgsbOzPbwISBP6/j4ugeLHMa0pTS9Af21MxRUONvzVoHryn wV0pDJHu4aHrs/gU77hUYvnOaQhKI4NYcEwV9PM6GiHoWVZSpqEpSuBZahLgKDegfLKL MakQ== X-Gm-Message-State: AOPr4FXAerNVwK7REfuoVyVa69NUZhjquYcWDV3RmPi31KEd9Z+O3cgNMT7ZxfTDlVI+oJwRoMXfKwj9DLi7ZA== MIME-Version: 1.0 X-Received: by 10.202.200.199 with SMTP id y190mr318926oif.156.1461601557095; Mon, 25 Apr 2016 09:25:57 -0700 (PDT) Received: by 10.182.103.134 with HTTP; Mon, 25 Apr 2016 09:25:57 -0700 (PDT) Date: Mon, 25 Apr 2016 18:25:57 +0200 Message-ID: Subject: Configuring multiple dispatchers From: Alexandre Trufanow To: users@qpid.apache.org Content-Type: multipart/alternative; boundary=001a11c17a289d2ac5053151a108 --001a11c17a289d2ac5053151a108 Content-Type: text/plain; charset=UTF-8 Hi, I am setting up a test environment with dispatchers and I have a couple of questions regarding the configuration. I am using dispatch-0.6.0-beta2. The current architecture is two dispatchers in front of multiple brokers, and messages can be sent or received from either dispatcher indiscriminately. The documentation mentions this use case but I haven't found an sample configuration. In order to make this work, I had to do some guesswork based on how to configure a single dispatcher, can someone confirm that I am doing this right? * Each dispatcher must be given a unique containerName (in type=container) and routerId (in type=router). This is to avoid clashes on the brokers. * There needs to be two separate listeners, one for communication with brokers (on-demand) and one for communication with the dispatcher (inter-router). * On each dispatcher, a connector is created towards the other dispatcher as well as an autoLink for each address in the way as for connecting to a broker. * When messages are sent to a dispatcher, I would expect to be able to retrieve them directly from the brokers. However, It is necessary to read the messages from a dispatcher most of the time, as they are no longer present on the brokers. Is this expected behavior? Thanks for your help, Alexandre www.murex.com --001a11c17a289d2ac5053151a108--