Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread Tim Bain
Can you post the code for your producer? Is it sending persistent messages? Does it set a TTL on the messages when it sends them? Your ActiveMQ 5.x console screenshot shows that those queues were never used. What is the screenshot expected to show? Tim On Mon, Oct 29, 2018, 9:26 AM

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread veaceslavdoina
Found a typo: Hardware: | ActiveMQ/Artemis| m5.large | 2vCPU / 8GiB | | Producer/Consumer | t3.medium | 2vCPU / 2GiB | Thank you! Slava. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Broker redelivery predispatch check across consumers is not working

2018-10-29 Thread djdkedev
Thank you for quick response. ActiveMQ Version:5.15.6 I want to test the broker redelivery predispatch check, therefore jms.redeliveryPolicy.maximumRedeliveries is set to zero at consumer level. Even though there is no mismatch, the redelivery counter goes beyond what is set in the redelivery

Re: Broker redelivery predispatch check across consumers is not working

2018-10-29 Thread Tim Bain
Two things: 1. You have max redeliveries set to 0 for the consumers but 1 for the broker. Is the behavior in the face of that mismatch what's in question here? Do you get correct behavior if the settings match? 2. How many times does the message get redelivered? Your description didn't say that

Re: Client connection rate

2018-10-29 Thread Tim Bain
This isn't something that I've heard of anyone trying, so you may need to try it and see. I'd definitely suggest that you use the failover transport, but beyond that I don't think you should need to make other customizations. Tim On Mon, Oct 29, 2018, 6:19 AM jlilley wrote: > Doing a bit more

Re: Artemis Rest Interface JAAS

2018-10-29 Thread shumin
What I described in my previous post are securing all URLs via web.xml. I am using a Servlet filter to enforce basic authentication using the same security realm as the Artemis server. The issue is that the security credential from war is not carried over to Artemis server as the server has it

Re: Client connection rate

2018-10-29 Thread jlilley
Doing a bit more reading I can see there is a "backlog" setting in the server URL. I also see there is a failover transport(http://activemq.apache.org/failover-transport-reference.html) which can be configured client-side. Refining my question to be more specific, what combination of backlog and

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread Tim Bain
When you end the test, how do you ensure that your consumer gets to finish consuming the remaining messages on the broker, without the producer producing new messages? Put another way: you assert that messages are lost, but I don't see anything in your results that prove that they're actually lost

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread veaceslavdoina
jbertram, Almost all things were done using Ansible and shell script. 1. Ansible - Create AWS environment. 2. Ansible - Install AMQ/Artemis. 3. Shell - script for Jms Tools to produce the tests and generate the reports. 4. A line of code to restart systemd service. If you are interested, I may

Broker redelivery predispatch check across consumers is not working

2018-10-29 Thread djdkedev
Hello, I want to add the redelivery counter check at embedded broker level but across consumers. Once redelivery counter is exceeded then message should enter into DLQ. I observed that, when client terminates without sending ack "INDIVIDUAL_ACKNOWLEDGE" then message is redelivered to another

Artemis Rest Interface JAAS

2018-10-29 Thread shumin
I followed http://activemq.2283324.n4.nabble.com/Artemis-and-RESTeasy-jar-files-td4736865.html to add a war to Artemis server to enable Rest Interface. The war is configured to use vm://0 as the default. The idea is to allow clients to post messages via REST. I am having trouble once the

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread veaceslavdoina
Hello Tim, Yes, you are right, thank you for observation! I've added one more line in the table - 'Messages remained'. During the test, each iteration uses its own queue name. The consumer is configured to consume all messages from the queue with a 30 seconds timeout. At the end of the test, I

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread veaceslavdoina
Reuploaded all 3 images because of overlaps in resulting filenames:

Re: ActiveMQ and Artemis reliability - Messages lost

2018-10-29 Thread Justin Bertram
Is there a project or anything set up where users can easily reproduce the results you're seeing (e.g. using their own machine)? Justin On Mon, Oct 29, 2018 at 9:56 AM veaceslavdoina wrote: > Hello Tim, > > Yes, you are right, thank you for observation! > I've added one more line in the

Re: Artemis Rest Interface JAAS

2018-10-29 Thread Justin Bertram
I think that you'll need to secure the URLs via web.xml as the documentation [1] points out. Justin [1] https://activemq.apache.org/artemis/docs/latest/rest.html#security-in-other-environments On Mon, Oct 29, 2018 at 11:19 AM shumin wrote: > I followed > >