Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CF429200C5B for ; Thu, 27 Apr 2017 15:22:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CDDD4160BA7; Thu, 27 Apr 2017 13:22:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 20363160B98 for ; Thu, 27 Apr 2017 15:22:09 +0200 (CEST) Received: (qmail 79991 invoked by uid 500); 27 Apr 2017 13:22:04 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 79979 invoked by uid 99); 27 Apr 2017 13:22:04 -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; Thu, 27 Apr 2017 13:22:03 +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 7AE87C074C for ; Thu, 27 Apr 2017 13:22:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 TaQCEGGfI9L7 for ; Thu, 27 Apr 2017 13:22:01 +0000 (UTC) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C61FC5F36C for ; Thu, 27 Apr 2017 13:22:00 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id x184so37171233oia.1 for ; Thu, 27 Apr 2017 06:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KshkyRO6hZvPUzQO/9+9COkchM4yM54s1ieOr9FrbY4=; b=Iuozd/7jZfNvGgsq0opDVv54tpG+JaeJ9ZZv4PHNwtmtul5GNT1eiyl2KLWOTtxG6z c4seLu7hGeCT3GZJLnDJobyc6xNL7ubXlXu+/sFqwMRbCFg5osCpvXxfe1nAEYj2ub35 jxDq8rytji2MxLaEAzY/L/lxfZ7QAw0xd4WF68vyuZ/Sd+zyoOvVaEnUXxUeq5Ifkfl+ gNrpAMu58N5UXD5k8FkcNvLVR57WV8bx5XATjt5wyu0nAvPp6qQS4hUV1+Xxsdt/sGlE 1sogsw3iUQA/LSAvjEk73eY0gffoouVDQqyvYe3CdZe5iaFXr1lZl65vyIHMZzSZbJSU o6kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KshkyRO6hZvPUzQO/9+9COkchM4yM54s1ieOr9FrbY4=; b=RphnIr71CwXurJutQknZBSLUkV2ILcIbAsMHDRs8Ve5vLZ29EBjY3hmL31FlD0x0WQ dTNH8W+i4xFtpDBT6qzMRAM1+lRo0S/h2qlZHH/XZVH9mFBBTIqyXbmMo/FApz25cFx3 LO6ZIekIXu0WQj4ncPi4sMA0B8OPecHhiRcOm1OcCvC3PaJUbmH29Ms4H/xWHWoVQpyi Ece5LqSAZ78APrLtcOtSjJTQ8IGz/mEFcXfqgBf3mmiXNIaS4ea/4Omo45J1M93Uhi6E Gbtv/g2oQntYzR9ugS4wBYzIe6ruaTCwn2Zeznzt6PiUIYXHD5Mw5lAj1ALTEsA2StRP P2Yw== X-Gm-Message-State: AN3rC/6UqHPxwLDcGH80eHKlw5yBP44Inddpp+NUxF2VFl0kIso8wD8x 8xXGxq8D4mdILGOeYzjsVz4k3lUdrQ== X-Received: by 10.202.82.205 with SMTP id g196mr2519741oib.149.1493299319303; Thu, 27 Apr 2017 06:21:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.141.35 with HTTP; Thu, 27 Apr 2017 06:21:58 -0700 (PDT) From: Lachezar Dobrev Date: Thu, 27 Apr 2017 16:21:58 +0300 Message-ID: Subject: ActiveMQ or Artemis in a Docker Swarm? To: users@activemq.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Thu, 27 Apr 2017 13:22:11 -0000 Hello all. I'm just beginning with Docker Swarm and am wondering the following: I have an application (.war for Tomcat, based on Springframework) that has an embedded Artemis to allow communication between Web Socket handlers. The application is like a multi-user chat, and uses a Topic to send messages between the Web Socket instances. When distributed every instance of the application knows every other instance and they create a network of brokers that allows messages from one Web Socket on one node to successfully reach a different Web Socket on a different node. There is no broker discovery (network limitation: no broadcast/multicast). How can I achieve the same in a Docker Swarm? Ideally pulling a new instance of the application/container would somehow enter the Broker Network and start exchanging messages with them.