activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor <victor.rom...@gmail.com>
Subject Re: ActiveMQ or Artemis in a Docker Swarm?
Date Fri, 28 Apr 2017 18:11:13 GMT
I haven't done it specifically for docker swarm, but you could take a look
and adapt my approach for Kubernetes:
https://github.com/vromero/charts/tree/gh-pages/activemq-artemis


2017-04-27 6:21 GMT-07:00 Lachezar Dobrev <l.dobrev@gmail.com>:

>   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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message