[ANNOUNCE] Apache Artemis 1.0.0 Released

2015-06-01 Thread Martyn Taylor
Apache Artemis 1.0.0 is released! This is the initial release of the Artemis project and offers protocol support for AMQP, STOMP, CORE, HORNETQ and OPENWIRE (at Alpha, with support for ActiveMQ JMS clients and basic transport.). The project website is here:

Re: Artemis: JMSXGroupID / Message groups: Large number of groups

2015-07-29 Thread Martyn Taylor
Hi Marco, Please see comments inline. Regards Martyn On 08/06/15 20:48, Marco wrote: Hi all, first, thanks for the release of v1.0.0 of Artemis! I'm currently experimenting with the use of message groups to quickly distribute messages to workers while keeping order on items belonging

Re: [Artemis] Master fails to start up after failback

2015-10-21 Thread Martyn Taylor
This should now be fixed upstream as part of: https://issues.apache.org/jira/browse/ARTEMIS-273 On 20/10/15 19:29, Mihkel Nõges wrote: Thanks Martyn! I will try this tomorrow. BR! Mihkel On 20 October 2015 at 18:59, Martyn Taylor <mtay...@redhat.com> wrote: Hi Mihkel, I tried repro

Re: [Artemis] Master fails to start up after failback

2015-10-20 Thread Martyn Taylor
Hi Mihkel, I tried reproducing this locally and ran into an issue straight away when running the example. After some investigation it appears that there is an issue in the ArtemisServerImpl which is preventing the journal files from being replicated properly when using relative paths in the

Re: Exclusive consumers in Artemis

2015-07-09 Thread Martyn Taylor
Hi Gunnar, I don't think we have this exact feature, but you can achieve similar behaviour using message groups. See: https://activemq.apache.org/artemis/docs/1.0.0/message-grouping.html Thanks Martyn On 02/07/15 10:34, Gunnar Morling wrote: Hi, Is the exclusive consumer feature [1]

[ANNOUNCE] Apache Artemis 1.1.0 Released

2015-09-24 Thread Martyn Taylor
Hi all, Apache Artemis 1.1.0 has now been released. This release contains a number improvements, mainly around OpenWire protocol support, where a number of bugs have been fixed and significant enhancements to performance have been made. The examples have also been restructured to make them

[ANNOUNCE] Apache Artemis 1.2.0 Released

2016-01-11 Thread Martyn Taylor
Hi all, Apache Artemis 1.2.0 has now been released. This release has significant improvements to performance, particularly around the persistence layer. In addition, new features have been added such as LDAP and OSGi support. There has also been more improvements to the OpenWire protocol.

Re: Artemis as multiprotocol broker

2016-05-25 Thread Martyn Taylor
Hi Luca, You don't need any specific configuration to do this. You can just set up a MQTT Client and a STOMP client and start sending/receiving from the same address. There are a couple of issues with Artemis versions <=1.2.0. I've fixed these issues on master and will be doing a 1.3.0 release

Re: Artemis as multiprotocol broker

2016-05-31 Thread Martyn Taylor
s" > > from the browser. > > (See just one line above here, > > https://github.com/mqttjs/MQTT.js#contributing) > > > > Is it supposed to work in Artemis? (.. Nice feature btw!) > > > > I can either provide you the client wrapped in docker or vagrant

Re: [Artemis] Interaction between JMS and MQTT not working

2016-05-27 Thread Martyn Taylor
Hi BR, You're config looks OK providing you have set the OpenWire port properly on your JMS client (The default is 61616, but I see you're only opening 5445). Take a look at the default out of the box config (It's created when you run artemis create). Also, can I ask what version you are using,

Re: Artemis as multiprotocol broker

2016-05-27 Thread Martyn Taylor
ready :) > > It tries to load configurations (avail in repository ./config) from > /etc/raptor or from system property -DconfigDir= > > Thank you for the precious help! > > Regards > Luca > > > 2016-05-26 10:42 GMT+02:00 Martyn Taylor <mtay...@redhat.com>: > > >

Re: Artemis as multiprotocol broker

2016-05-26 Thread Martyn Taylor
dConnack > > The client is mqttjs a nodejs based module implementing 3 -> 3.1.1 mqtt > version > > I'm using a custom SecurityManager, but should not be at the cause of such > issue > > Need to investigate better > > Best > Luca > > 2016-05-25 21:40 GMT+02:00 Ma

[ANNOUNCE] Apache Artemis 1.3.0 Released

2016-06-15 Thread Martyn Taylor
Hi all, I'm pleased to announce that Apache Artemis 1.3.0 is now released. Apache Artemis 1.3.0 has a lot of fixes and improvements: * The OpenWire protocol implementation is now feature complete. * Equivalent implementations of all ActiveMQ 5.x JAAS modules are now available. * An initial

Re: Artemis: Automatic failback does not work

2016-06-22 Thread Martyn Taylor
Hi Sebastian, Good to hear this resolved your problem. The whole connector/acceptor concept in Artemis is a little bit confusing. In short, the acceptor in the config is a way to configure the broker to allow clients to connect. It opens a port, configures the protocols etc A Connector is

Re: Artemis: Automatic failback does not work

2016-06-21 Thread Martyn Taylor
Hi Sebastian, There is a period where both servers will be up at the same time during when using replication, so you might see the "more than one server with the same ID" message for a period. This is normal. Which version of Apache Artemis are you using. There were several fixes around

Re: Artemis: Automatic failback does not work

2016-06-21 Thread Martyn Taylor
How many messages do you have in the broker when this happens? There is a sync period which may take a short while, particularly if there's a lot of data in the broker or the connection between the live and backup is slow. Essentially what is happening during this period is. 1. Master starts up

Re: Artemis: Automatic failback does not work

2016-06-21 Thread Martyn Taylor
://192.168.50.1:61616 // Should be tcp://192.168.50.1:61617 On Tue, Jun 21, 2016 at 4:26 PM, Martyn Taylor <mtay...@redhat.com> wrote: > How many messages do you have in the broker when this happens? There is a > sync period which may take a short while, particularly if there's a l

Re: JTA Transaction in a MessageListener

2016-05-05 Thread Martyn Taylor
Hi Alexis, The onMessage() method (when invoked outside of an container) would be called outside the boundaries of a transaction. I see you are using XASession in the test you provided. When onMessage() is called, and a message consumed, with an XASession, it would be done so with an ack mode

Re: Artemis as multiprotocol broker

2016-08-10 Thread Martyn Taylor
here for > > broser connections: > > https://github.com/mqttjs/MQTT.js/blob/master/lib/connect/ws.js#L78 > > > > so it may be a library issue / decision. > > > > What I cannot get is to use MQTT as subprotocol modifying the above > > constant to something mean

Re: Artemis as multiprotocol broker

2016-08-11 Thread Martyn Taylor
Good to hear. Have fun. On Thu, Aug 11, 2016 at 1:45 PM, Luca Capra <luca.ca...@gmail.com> wrote: > Martyn, > great work, I got connected and messages flows.. Thank you very much! > > Regards, > Luca > > 2016-08-11 11:23 GMT+02:00 Martyn Taylor <mtay...@redhat.c

Re: Artemis as multiprotocol broker

2016-08-11 Thread Martyn Taylor
gt; So it is my browser (Chrome) causing the issue. Looking forward to test you > fix. > > Best > > 2016-08-10 14:37 GMT+02:00 Martyn Taylor <mtay...@redhat.com>: > > > Hi Luca, > > > > The log message you were seeing is due to Artemis not supportin

Re: To be IOT mqtt middleware server

2016-07-18 Thread Martyn Taylor
Hi, ActiveMQ Artemis does support MQTT and has an event driven architecture, using resource pooling to share threads and other resources across many connections. This does allow you to create many connections on a single broker, but I think 1 million might be pushing it. That said, I've not

Re: Managing clients in Artemis

2016-07-15 Thread Martyn Taylor
On Fri, Jul 15, 2016 at 12:03 PM, Ragavan Thiru wrote: > Hi, > > I have configured Artemis as MQTT broker. I have some questions regarding > the configuration of the followings, > > 1. How can I configure clients and tokens/passwords of those clients? > > 2, If I want to

Re: Need help to Improve ActiveMQ performance

2016-07-11 Thread Martyn Taylor
Hi Raghu, It may also be worth considering ActiveMQ Artemis in your evaluation. It has a complete blocking architecture end to end and can delivery excellent performance. https://activemq.apache.org/artemis/ Regards Martyn On Mon, Jul 4, 2016 at 12:29 PM, Gary Tully

Re: Interceptor for MQTT

2016-07-04 Thread Martyn Taylor
ttPublishMessage message) " function in the > MQTTProtocolHandler.java class. Please let me know if there is a better way > as Intercepts are currently not supported. > > Thanks, > Vicky > > On Sat, Jul 2, 2016 at 9:07 PM, Martyn Taylor [via ActiveMQ] < > ml-node+s2283324n4713

Re: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Martyn Taylor
Hi Andy, The attachments don't seem to have come through for me? Could you please send over the broker.xml and your log out put and I will take a look. I noticed you referred to the docs from 1.0.0, we're up to 1.3.0 now I would use the latest version of the broker and docs. Thanks Martyn On

Re: Problems using Qpid Proton-J with Artemis Core

2016-08-09 Thread Martyn Taylor
Apologies I hit the "reply" and not "reply list". Posting to list for others. Thanks. On Tue, Aug 9, 2016 at 2:47 PM, Martyn Taylor <mtay...@redhat.com> wrote: > > > On Tue, Aug 9, 2016 at 2:24 PM, Andy Redhead <andy.redh...@oneadvanced.com > > wrot

Re: Artemis as multiprotocol broker

2016-08-09 Thread Martyn Taylor
s this feature actually > not supported? > > I'm trying to have the broker to talk from a web browser to the broker and > still mqtt over ws seems the best way. > Do you have any suggestion ? > > Thank you! > > > > 2016-05-31 18:50 GMT+02:00 Martyn Taylor <mtay.

Re: Artemis as MQTT broker

2016-06-30 Thread Martyn Taylor
essages. Thanks Martyn > > On Wed, Jun 29, 2016 at 7:10 PM, Martyn Taylor <mtay...@redhat.com> wrote: > > > Hi > > > > On 29 Jun 2016 12:04, "Ragavan Thiru" <sktr...@gmail.com> wrote: > > > > > > Hi All, > > > > > &

Re: Artemis as MQTT broker

2016-06-29 Thread Martyn Taylor
Hi On 29 Jun 2016 12:04, "Ragavan Thiru" wrote: > > Hi All, > > I have few questions on Artemis. > > 1. How can I configure Artemis as MQTT broker? It's configured with MQTT enabled out of the box on ports 1883 and 61616. Take a look at the default etc/broker.xml for an

Re: Interceptor for MQTT

2016-07-02 Thread Martyn Taylor
Hi Vicky On 2 Jul 2016 19:33, "aries.aries" wrote: > > Hi, > > Is there any other way to get the messages that has been published to the > MQTT broker? Please help. What do you mean by get the messages? Can you let us know what is it that you're trying to achieve?

Re: MQTT retained messages with weird characters

2017-02-06 Thread Martyn Taylor
gt; > buffer.writeBytes(buff, start, length); > > decode(); > > buff.readerIndex(start + length); > > buff.writerIndex(start + endOfBodyPosition); > >} > > > > Thanks a lot for your help and your patience. > > > Francesco >

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-06 Thread Martyn Taylor
Francesco, Thanks for providing this information. I think there's a couple of things going on and I'd like to work with you to create some reproducers, we could have a chat IRC #apache-activ...@freenode.net and I'll see if I can recreate your env / case in our test suite. With the case above,

[ANNOUNCE] Apache Artemis 1.5.3 Release

2017-02-20 Thread Martyn Taylor
All, I'm pleased to announce the release of Apache Artemis 1.5.3. This revision release of Apache Artemis contains a number of improvements and bug fixes. The project website for Apache Artemis has been updated include this release and can be found here: http://activemq.apache.org/artemis/ A

Re: [ANNOUNCE] Apache Artemis 1.5.3 Release

2017-02-20 Thread Martyn Taylor
The distribution mirrors are taking a little while to sync. In the meantime you can grab the latest artifacts from: https://dist.apache.org/ repos/dist/release/activemq/activemq-artemis/1.5.3/ Cheers On Mon, Feb 20, 2017 at 11:16 AM, Martyn Taylor <mtay...@redhat.com> wrote: > All

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-13 Thread Martyn Taylor
Thank you for your patience. This is really great feedback. I'll have something for you by the end of today. Regards Martyn On Mon, Feb 13, 2017 at 11:53 AM, francesco81 wrote: > Super, > you'd be so kind (as usual)! > I'll wait for a feedback on this new

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-13 Thread Martyn Taylor
Hi Francesco, Thanks for the Thread dump. I think I know what the issue is, I'll get it fixed today. This fix won't make the 1.5.3 release but I can provide you with another snapshot with all the required fixes. We can try to do another revision release soon after including this fix. Cheers

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-09 Thread Martyn Taylor
Francesco, I think I've identified the cause of this problem. There were two issues which are now fixed as part of: https://github.com/apache/activemq-artemis/pull/1002 I'll get these fixes cherry-picked onto Artemis 1.x stream. I plan on doing a 1.5.3 (with these changes included) within the

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-10 Thread Martyn Taylor
we were able to connect also by > using clientID longer than 23 chars. Now, with 1.6.0 (and maybe also with > 1.5.2 ...I admit I've not yet tested it) we can't. > > It is changed something about clientid length support? > > > Thanks in advance. > > > Francesco >

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-09 Thread Martyn Taylor
gt; some tests. > I've created a snapshot build you can test with: https://repository.apache.org/content/groups/snapshots/org/apache/activemq/apache-artemis/1.6.0-SNAPSHOT/apache-artemis-1.6.0-20170209.161917-15-bin.zip Please let me know how you get on. Thanks > Francesco > > ____

Re: ARTEMIS: bad-performance behaviour after 7-10 days of usage

2017-02-13 Thread Martyn Taylor
Francesco, Do you have any logs I could look at? Do you hang out on IRC we could have a quick chat in #apache-activemq what is your IRC nick? Cheers On Mon, Feb 13, 2017 at 11:59 AM, Martyn Taylor <mtay...@redhat.com> wrote: > Thank you for your patience. This is really great feedba

Re: Duplicating messages published to a Topic to a Queue

2016-10-07 Thread Martyn Taylor
I don't have enough information to understand you problem fully. But perhaps you could use a combination of duplicate detection and diverts could solve your problem. https://activemq.apache.org/artemis/docs/1.4.0/duplicate-detection.htm https://activemq.apache.org/artemis/docs/1.4.0/diverts.html

Re: ActiveMQ REST message listener

2016-10-07 Thread Martyn Taylor
The REST over HTTP pattern is request/response you send a GET request and you "get" a response. By it's very nature is going to require polling. I'm not sure what your requirements are, but if you are trying to do this stuff in a browser, then using Websockets as John suggested could get you what

Re: Messaging listener for local messages only

2016-10-07 Thread Martyn Taylor
I'd start with Justin's suggestions, if those are not possible it might be possible add an outbound interceptor that increments a message property with a counter "NUMBER_OF_HOPS". It would get triggered every time the message is forwarded to a broker or client. This way you can figure out how

[CVE-2016-4978] Apache ActiveMQ Artemis: Deserialization of untrusted input vunerability

2016-09-23 Thread Martyn Taylor
Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Artemis 1.0.0, 1.1.0, 1.2.0, 1.3.0 A class implementing the Serializable interface is free to implement the “readObject(java.io.ObjectInputStream in)” method however it chooses. This readObject method is used

Re: [ANNOUNCE] Apache Artemis 1.5.0 Released

2016-11-10 Thread Martyn Taylor
I did a snapshot from the ARTEMIS 780 branch (addressing changes). This has some major core changes that would warrant a major bump. But its way off being in any state for a merge, the current plan is to continue with 1.x.0. Apologies for the confusion. On 10 Nov 2016 17:32, "Clebert

Re: Duplicating messages published to a Topic to a Queue

2016-10-14 Thread Martyn Taylor
t;jms.queue.queue.whatever" > > Otherwise the diverts work pretty well, I even managed to catch one queue > message being processed on a different node than the one sending the topic > message, which is exactly what I was hoping for. > > Thanks again for the directions. &g

Re: HornetQ client connect to Artemis server

2016-10-14 Thread Martyn Taylor
Hi, Artemis does support HornetQ 2.4.7.final clients and should work out of the box. Could you provide a reproducer? We actually have some tests under /tests/extra-tests/protocols/hornetq that test the HornetQ client against the latest broker. If you could contribute a test here that'd be

Re: HornetQ client connect to Artemis server

2016-10-20 Thread Martyn Taylor
Great. Good to hear. On Wed, Oct 19, 2016 at 2:58 PM, hcrobison wrote: > I am all set. My problem was when we embedded the Artemis server, we missed > the jar arttemis-hornetq-protocol-1.x.0.jar. > Thanks. > > > > -- > View this message in context:

Re: MQTT retained messages with weird characters

2017-01-11 Thread Martyn Taylor
It looks to me like the full message buffer (not just the body) is getting returned to the client. Clebert I think you're right in that we do some hackery to handle retained messages. I suspect this is where the error is. Francesco could you create a JIRA with some reproducer steps and I'll aim

Re: Artemis 2.0 : Client with v2.0.x jars in the classpath to a v1.5.x server. is it supported?

2017-03-24 Thread Martyn Taylor
We only support old clients against a new broker. We don't support new clients against old broker. On Fri, Mar 24, 2017 at 1:11 PM, titou10 wrote: > Hi, > > I have a java client with the Artemis v2.0.0 client jar on the classpath > trying to talk to a v1.5.2 server >

Re: Artemis 2.0 : Client with v2.0.x jars in the classpath to a v1.5.x server. is it supported?

2017-03-28 Thread Martyn Taylor
) > at org.apache.activemq.artemis.api.jms.management.JMSManagement > Helper.getResult(JMSManagementHelper.java:149) > at org.apache.activemq.artemis.api.jms.management.JMSManagement > Helper.getResult(JMSManagementHelper.java:139) > at org.titou10.jtb.qm.activ

Re: Apache Artemis - Stress-test time

2017-03-22 Thread Martyn Taylor
Francesco, I think you've stumbled upon a bug. In order to support the Exact;y Once 4 way ack for MQTT we schedule pub rel messages on a management queue (in case we need to resend). It appears these were not getting removed from the queue after the broker got the PubComp back from the client,

Re: Apache Artemis - Stress-test time

2017-03-27 Thread Martyn Taylor
Glad to be of help. Please let me know how you guys get on with the latest fix. On Thu, Mar 23, 2017 at 3:43 PM, francesco81 wrote: > Hi Martyn, > you are a kind of super hero to us! > > I'm going to build your fix and try it with our stress tests. > I'll give

[ANNOUNCE] Apache Artemis 2.0.0

2017-03-22 Thread Martyn Taylor
All, I am extremely pleased to announce the release of Apache Artemis 2.0.0. This 2.0.0 release represents a major milestone for Apache Artemis and contains a bunch of new features and performance enhancements. See the release notes for details. The project website for Apache Artemis has been

Re: Apache Artemis - Stress-test time

2017-04-11 Thread Martyn Taylor
Clebert: Yes we could optimize on this area of the code to avoid the bindings query. To determine whether or not this is the root cause of the problem experience by Francesco and Alessandro, we just need to follow the same test without using retained messages. Francesco, Alessandro is this

Re: [Apache Artemis][MQTT] how to create a durable subscriber - My messages are lost

2017-03-09 Thread Martyn Taylor
I suspect that you're not setting the client id. mqtt.setClientId("my-unique-client"); On Thu, Mar 9, 2017 at 2:20 PM, REGINA Patrick wrote: > Hi, > > How can I create a durable subscriber. > > Indeed when my consumer is disconnected, I lose my messages. > > I create a

Re: [Apache Artemis][MQTT] how to create a durable subscriber - My messages are lost

2017-03-09 Thread Martyn Taylor
And what about on your consumer? On Thu, Mar 9, 2017 at 3:43 PM, Deomisr wrote: > hi Mtaylor, > > I already put the mqtt.setclientid on my publisher > > this is my code : > > public class MQTTBasicPubSubExample { > >public static void main(final String[] args) throws

Re: How does Apache Artemis manage heap space (RAM)

2017-03-08 Thread Martyn Taylor
On Tue, Mar 7, 2017 at 5:27 PM, ipolevoy wrote: > In our projects, we use two queues, one for normal processing, and another > for errors. The "error" queue sometimes gets filled with "error" messages, > which are sitting there, until a human checks them out. In some

Re: Add mqtt protocol to artemis Wildfly

2017-07-31 Thread Martyn Taylor
There are 2 files you need to change: wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/artemis/main/module.xml wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/artemis/protocol/mqtt/main/module.xml You also need to drop the following jars into the mqtt/main

Re: ActiveMQConnectionFactory: use initial connectors instead of received topology

2017-08-04 Thread Martyn Taylor
Just catching up on this. Firstly I don't think this is a bug. The static connector list is used for discovery, not for defining a set of brokers to round robin over, I agree it's a limitation when used in conjunction with the out of the box round robin policy. However, it works just fine with

Re: ActiveMQ JDBC with journaling enabled

2017-04-26 Thread Martyn Taylor
Hi On Wed, Apr 26, 2017 at 6:51 AM, khandelwalanuj < anuj.cool.khandel...@gmail.com> wrote: > Hi, > > I was evaluating ActiveMQ's JDBC based persistent store with journaling > enabled. Have couple of doubts: > > 1. I was reading > https://access.redhat.com/documentation/en-US/Fuse_ >

Re: ActiveMQ JDBC with journaling enabled

2017-04-26 Thread Martyn Taylor
My answer was based on ActiveMQ Artemis. Sorry for the confusion. On Wed, Apr 26, 2017 at 1:56 PM, khandelwalanuj < anuj.cool.khandel...@gmail.com> wrote: > Yes I was talking about ActiveMQ 5.x > > Can you also clarify about the first point where it says that journaled > JDBC > store is

Re: Client compatibility of Artemis with AMQ and HQ

2017-05-22 Thread Martyn Taylor
We have support for the HornetQ protocol which should work for both 2.3.x and 2.4.x clients. To connect older clients simply create an acceptor with the HORNETQ protocol enabled. As Clebert already alluded to, in HornetQ and Artemis 1.x JMS queues and JMS topics names are prefixed with

Re: Artemis rejects the clientid after client disconnection

2017-06-15 Thread Martyn Taylor
Hi Francesco, What version of Artemis are you using? >From your description it does look like the connection is not cleaned up after the TTL. I'll attempt to reproduce locally. Thanks On Thu, Jun 15, 2017 at 11:53 AM, francesco81 wrote: > Hi, > we're facing

Re: Artemis - Virtual Topic support

2017-09-14 Thread Martyn Taylor
Armand, If it's shared subscription like semantics you are after, you can also do something similar with FQQN (which is available over all protocols and JMS 1.1). There's information in the addressing model chapter of the user guide:

Re: wildfly-10.1.0.Final integration for MQTT not working

2017-09-13 Thread Martyn Taylor
This is using a very old version of Artemis. I would recommend you bump the Artemis dependency version to at least the latest version of 1.x (currently 1.5.5). On Wed, Sep 13, 2017 at 1:40 PM, aragoubi wrote: > I got the same problem, I think it's not yet implemented. >

Re: [Artemis] message flow with core bridges

2017-11-10 Thread Martyn Taylor
Hi Nicolae, Is broker 2 blocking production to the target address? This would result in back pressure on the bridge, meaning that messages will build up in broker 1. Logs of the brokers and bridges (with trace enabled) would help diagnose. Cheers Martyn On Thu, Nov 9, 2017 at 4:49 PM,

Re: Broker Federation with an Active-Active Broker Cluster

2017-12-12 Thread Martyn Taylor
o other nodes if they have matching consumers.* > And to this cluster I would like to connect the satellite brokers. > > Kind Regards, > Andreas > > > On Tue, Dec 12, 2017 at 11:29 AM, Martyn Taylor <mtay...@redhat.com> > wrote: > > > Hi Andreas, > > > > I

Re: Broker Federation with an Active-Active Broker Cluster

2017-12-12 Thread Martyn Taylor
Hi Andreas, If I understand correctly you're wanting to create a single cluster, with active-active style availability, with some satellite brokers? To set up an active/active style HA cluster in Artemis, you can use using co-located pairs[1]. Essentially what this is doing is creating a live

Re: [Artemis] - Can last value queue be sent to multiple consumers?

2017-10-30 Thread Martyn Taylor
Hi Lionel, If I understand your use case correctly, then MQTT has a feature that does exactly what you're trying to achieve. Retained messages. "When a workstation connects, I want it to be able to get the most recent value immediately." A producer can mark a message as "retain". The broker

Re: Artemis 2.4.0 message loss in durability tests upon system power-off

2018-02-14 Thread Martyn Taylor
Hi Anindya, I would be very surprised if messages were lost due to an ActiveMQ Artemis broker issue. We have a lot of very extensive testing around these exact use cases. Could you please check a couple of things: 1. Can you confirm that the same guarantees for disk sync apply to a host VM as

[ANNOUNCE] CVE-2017-12174: Memory exhaustion via UDP and JGroups discovery

2018-02-26 Thread Martyn Taylor
CVE-2017-12174: Memory exhaustion via UDP and JGroups discovery Severity: High Vendor: The Apache Software Foundation Versions Affected: 1.0.0, 1.1.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 2.0.0, 2.1.0, 2.2.0, 2.3.0 Description: If an Apache Artemis broker is

[ANNOUNCE] Apache Artemis 1.5.6

2018-02-26 Thread Martyn Taylor
All, I am extremely pleased to announce the release of Apache Artemis 1.5.6 This 1.5.6 patch release contains the following fix: https://issues.apache.org/jira/browse/ARTEMIS-1482 The project website for Apache Artemis has been updated include this release and can be found here:

Re: Address settings for multicast addresses

2018-02-28 Thread Martyn Taylor
Ulf, We don't copy messages across queues. If you send a single message to a multicast address it's only stored in memory once, and a reference to the message is stored on the queue. You don't have noQueues * messages in memory, but you do have some additional message references in memory. If