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, w

Re: Artemis 2.0: How to get the list of Queues and Topics from a server? (Fails in 2.0 with v1.5.3 code)

2017-03-22 Thread titou10 titou10
Thanks again for your help 2017-03-22 16:06 GMT-04:00 Justin Bertram : > Did you try modifying your code as I recommended? If so, what was the result? > > I modified the "management" example locally as a proof-of-concept and it > worked fine. Here's the code (comments redacted): > > Qu

Re: Artemis 2.0: How to get the list of Queues and Topics from a server? (Fails in 2.0 with v1.5.3 code)

2017-03-22 Thread Justin Bertram
Did you try modifying your code as I recommended? If so, what was the result? I modified the "management" example locally as a proof-of-concept and it worked fine. Here's the code (comments redacted): QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDG

Re: Artemis 2.0 - Karaf - JsonLoader not found issue

2017-03-22 Thread mtod
Seems this has to do with adding Hawtio to the system. Seems to work fine on a local instance. -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-2-0-Karaf-JsonLoader-not-found-issue-tp4723979p4724007.html Sent from the ActiveMQ - User mailing list archive at Nabbl

Re: Artemis 2.0: How to get the list of Queues and Topics from a server? (Fails in 2.0 with v1.5.3 code)

2017-03-22 Thread titou10 titou10
Thanks for your answer >> how to retrieve the list of Queues and Topics from an Artemis v2.0.0 server? > > I think you'll be good to just use > org.apache.activemq.artemis.api.core.management.ResourceNames.BROKER rather > than JMS_SERVER with your existing code. It will not work... Given the v1

Re: Apache Artemis - Stress-test time

2017-03-22 Thread Clebert Suconic
it's MQTT.. I would recommend you using block for these address though.. unless you really need paging. or a bigger maxSize and bigger memory. On Wed, Mar 22, 2017 at 1:39 PM, Francesco PADOVANI wrote: > Hi all, > > we're currently performing some stress-test sessions against our Apache > Artem

Re: Artemis 1.x support model

2017-03-22 Thread Justin Bertram
As far as I see it as long as there are community members willing to send PRs, committers willing to review and merge them, and then someone willing to perform a release then 1.x will live on. There is no official "support model" as far as I'm aware. There's just a community contributing to th

Re: Artemis 2.0: How to get the list of Queues and Topics from a server? (Fails in 2.0 with v1.5.3 code)

2017-03-22 Thread Justin Bertram
> how to retrieve the list of Queues and Topics from an Artemis v2.0.0 server? I think you'll be good to just use org.apache.activemq.artemis.api.core.management.ResourceNames.BROKER rather than JMS_SERVER with your existing code. > is there a migration/upgrade guide to upgrade from 1.5.x to 2

Artemis 1.x support model

2017-03-22 Thread abhijith
Congrats everyone on successful release. We are using Artemis v1.4 today and would like to know support model for 1.x version after major version update. Is there any plan to deprecate 1.x version in near future and not accept any more bug submission? We are trying to determine when to upgrade

Artemis 2.0: How to get the list of Queues and Topics from a server? (Fails in 2.0 with v1.5.3 code)

2017-03-22 Thread titou10 titou10
Hi, With Artemis v1.5.3, to retrieve the list of queues and topics, I was using this code (inspired from the example) Queue managementQueue = ActiveMQJMSClient.createQueue("activemq.management"); Session sessionJMS = jmsConnection.createSession(false, Session.AUTO_ACKNOWLEDGE); QueueRequestor requ

Closing a ActiveMQMessageProducer after publishing asynchronously

2017-03-22 Thread rth
I am trying to determine if it is ok to close an ActiveMQMessageProducer after it has been used to publish a message asynchronously. Presumably publishing asynchronously uses a separate thread, which could be blocked (perhaps because of flow control). So, what happens if the publishing thread clos

Re: Apache Artemis - Stress-test time

2017-03-22 Thread Clebert Suconic
Well. I always say you can't beat physics. When u start to page that many destinations you are doing a lot more IO. You can't make Artemis to go faster than the physical barriers you have on disks. You should probably use more memory. Bigger global size. Also look at the Tip of master (upcomi

Apache Artemis - Stress-test time

2017-03-22 Thread Francesco PADOVANI
Hi all, we're currently performing some stress-test sessions against our Apache Artemis instance. To do this, we have developed a java program which uses the paho library. We are simulating (just to start) 1000 subscriber clients each one who connects in qos2 and subscribes 50 specific topics d

Artemis 2.0 - Karaf - JsonLoader no found issue

2017-03-22 Thread mtod
Hi I'm loading up Artemis 2.0 on AWS EC2 in a karaf container. It loaded fine and is working except for the following error when executing listAllConsumersAsJSON() javax.management.RuntimeErrorException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.activemq.artemis.utils.

[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 u

Re: [ANNOUNCE] Apache Artemis 2.0.0

2017-03-22 Thread Jamie G.
Congratulations on the release of Apache ActiveMQ Artemis 2.0.0! On Wed, Mar 22, 2017 at 10:33 AM, Martyn Taylor wrote: > 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

Re: ActiveMQ lease-database-locker in Servicemix - Class not found

2017-03-22 Thread Tim Bain
I have no experience with ServiceMix, but is it available as an optional feature (http://servicemix.apache.org/docs/7.x/quickstart/features.html)? Otherwise, you'll probably want to post to the ServiceMix mailing list: http://servicemix.apache.org/community/mailing-lists.html Tim On Mar 20, 2017

Activemq 5.7: Restarting Consumer results in duplicate message delivery for all messages consumed after restart.

2017-03-22 Thread jayas
This is observed during our tests where a consumer is restarted , after which we see that consumer receives duplicate messages for all the messages sent post restart. Here is the test environment. Active MQ 5.7.0 One Topic, with two active consumers and one producer. There are three JVM instances.