Re: Performance test tool

2024-10-11 Thread Justin Bertram
Fundamentally, messaging is about producing and consuming messages so the performance tools shipped with the broker should provide you with most of the functionality you'd need. Those tools support both the Core and AMQP 1.0 protocols. Keep in mind that the official end-user documentation is on th

RE: Performance test tool

2024-10-11 Thread Dondorp, Erwin
October 11, 2024 8:01 PM To: users@activemq.apache.org Subject: Performance test tool EXTERNAL SENDER: Do not click any links or open any attachments unless you trust the sender and know the content is safe. EXPÉDITEUR EXTERNE:Ne cliquez sur aucun lien et n'ouvrez aucune pièce jointe

Performance test tool

2024-10-11 Thread Snene, Amna
Hi, I'm new to ActiveMQ Artemis and I want to run performance tests on an Artemis cluster with different workload scenarios using the AMQP 1.0 protocol. Is there any tool that can help with this? Also, I found a performance tool

Re: Test message api looks to be broken in ActiveMQ 5.18.4

2024-08-14 Thread Christopher Shannon
apache.org > Cc: Bhattacharjee, Tapas ; Mau, I-Min < > i-min@fisglobal.com> > Subject: RE: Test message api looks to be broken in ActiveMQ 5.18.4 > > But just as FYI, it does look like Matt’s response is what we needed, I am > going to deploy and verify in a bit. > So thanks Matt

RE: Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Mau, I-Min
And it did work. Thanks all! From: Mau, I-Min Sent: Monday, July 15, 2024 4:11 PM To: Matt Pavlovich ; users@activemq.apache.org Cc: Bhattacharjee, Tapas ; Mau, I-Min Subject: RE: Test message api looks to be broken in ActiveMQ 5.18.4 But just as FYI, it does look like Matt’s response is

RE: Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Mau, I-Min
ubject: RE: Test message api looks to be broken in ActiveMQ 5.18.4 Ok but what do you think about Tapas finding that this worked again in a higher version? So 5.16.7 and 6.1.2 did not have this issue, but 5.18.4 did. Thanks, From: Matt Pavlovich mailto:mattr...@gmail.com>> Sent: Monday, July

RE: Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Bhattacharjee, Tapas
From: Mau, I-Min Sent: Monday, July 15, 2024 1:12 PM To: users@activemq.apache.org Cc: Bhattacharjee, Tapas Subject: Test message api looks to be broken in ActiveMQ 5.18.4 Hi, we recently tried out ActiveMQ 5.18.4 (we were at 5.16.7) and one thing we encountered is that the test message api se

RE: Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Mau, I-Min
: Re: Test message api looks to be broken in ActiveMQ 5.18.4 Hi I-Min- The default for the messages API is to set the destination as a topic. If you want to read from a queue, add the &type=queue parameter to your query string. curl --user admin:admin "http://localhost:8161/api/mes

Re: Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Matt Pavlovich
Hi I-Min- The default for the messages API is to set the destination as a topic. If you want to read from a queue, add the &type=queue parameter to your query string. curl --user admin:admin "http://localhost:8161/api/message/TEST?readTimeout=1&type=queue&

Test message api looks to be broken in ActiveMQ 5.18.4

2024-07-15 Thread Mau, I-Min
Hi, we recently tried out ActiveMQ 5.18.4 (we were at 5.16.7) and one thing we encountered is that the test message api seems to be broken in this newer version. That is, when we tried curl --user admin:admin http://localhost:8161/api/message/TEST?readTimeout=1 We got below. Just

Broker drops connection during throughput test

2018-11-21 Thread schalmers
When running a continual test against a broker setup as a master-slave, after an arbitrary length of time, the test client disconnects and stops working. The only message thrown in the artemis.log file is: {{2018-10-31 09:32:07,368 WARN [org.apache.activemq.artemis.core.client] AMQ212037

testRecoveryOnArchiveFailure failing test

2018-03-08 Thread angelo.rlcosta
Hello all, I have just downloaded activemq-activemq-5.15.3 version of activemq and trying to build the source code by running mvn clean install. Problem is that there is a failing test: testRecoveryOnArchiveFailure(org.apache.activemq.store.kahadb.JournalArchiveTest) Time elapsed: 2.934 sec

Re: Defining legit Stress Test for ActiveMQ with JMeter

2017-10-02 Thread Justin Bertram
Based on the message you received my guess is that you need to subscribe to the list via user-subscr...@jmeter.apache.org before you can send a message to the u...@jmeter.apache.org list. Have you done that? In any event this really isn't an ActiveMQ issue. Justin On Mon, Oct 2, 2017 at 6:47 A

Re: Defining legit Stress Test for ActiveMQ with JMeter

2017-10-02 Thread Juleian
If I want to post it on the JMeter Forum I always get Failure Messages: I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : Must be sent from an @apache.org address or a subscriber address or an address

Re: Defining legit Stress Test for ActiveMQ with JMeter

2017-09-29 Thread Justin Bertram
tem as central topic of my master thesis > and now I need to create > some kind of stress test for the broker as part of an evaluation. Ideally, > Id like to have a setup with innumerable topics, subscribers and > publishers. > By now, I just have a basic setup of a few participan

Defining legit Stress Test for ActiveMQ with JMeter

2017-09-28 Thread Juleian
Hello everybody, I used ActiveMQ for a pub/sub system as central topic of my master thesis and now I need to create some kind of stress test for the broker as part of an evaluation. Ideally, Id like to have a setup with innumerable topics, subscribers and publishers. By now, I just have a basic

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-07-11 Thread Tim Bain
being consumed. Are you certain that during your performance test, all messages published were being consumed? I'd recommend you try to confirm what you believe to be true by viewing the JMX MBeans that represent your topics, to make sure that the count of dequeued messages really is increa

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-07-11 Thread Hidekazu
Hi I faced the same problem with ActiveMQ 5.15.0. Configurations and environments are almost the same with 5.14.3. Hidekazu -- View this message in context: http://activemq.2283324.n4.nabble.com/AcativeMQ-becomes-slow-suddenly-in-60-minutes-after-starting-a-performance-test-tp4728103p4728434

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-07-07 Thread Hidekazu
. > Were the messages persistent or non-persistent? Yes, persistent. > (If persistent, can you prove it by showing a reasonable > rate of growth on the KahaDB data files?) The performance test was conducted on June 23th and I experienced the slow ActiveMQ issue on that day. This is

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-07-06 Thread Tim Bain
Can you describe more about your test itself? Were your IoT processes publishing to queues or topics? To a single one or to one per client? Was anything consuming the messages? Were the messages persistent or non-persistent? (If persistent, can you prove it by showing a reasonable rate of growth

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-07-02 Thread Hidekazu
Thanks! Hidekazu -- View this message in context: http://activemq.2283324.n4.nabble.com/AcativeMQ-becomes-slow-suddenly-in-60-minutes-after-starting-a-performance-test-tp4728103p4728185.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-06-30 Thread Christopher Shannon
How much memory have you allocated for the broker? You might need to simply allocate more memory or tune your memory limits. See http://activemq.apache.org/javalangoutofmemory.html On Fri, Jun 30, 2017 at 7:10 AM, Hidekazu wrote: > Hi, > > We did a performance test for ActiveMQ

AcativeMQ becomes slow suddenly in 60 minutes after starting a performance test

2017-06-30 Thread Hidekazu
Hi, We did a performance test for ActiveMQ and came across a problem. I hope someone help us understand what was wrong with my ActiveMQ. Let me explain it here. Transaction time became long suddenly from 50 millsec to 60 sec in about 60 minutes after starting a performance test. ActiveMQ kept

Re: Apache Artemis - Stress-test time

2017-04-21 Thread Francesco PADOVANI
@activemq.apache.org Subject: Re: Apache Artemis - Stress-test time Martyn, sorry, one more thing, for the previous test we didn't use security: we assigned the same role to all user and the role had all permissions on all addresses/queues (#). Now we'd like to try by using security, but we

Re: Apache Artemis - Stress-test time

2017-04-21 Thread Francesco PADOVANI
Martyn, sorry, one more thing, for the previous test we didn't use security: we assigned the same role to all user and the role had all permissions on all addresses/queues (#). Now we'd like to try by using security, but we're facing an issue when a client publish on a topic which

Re: Apache Artemis - Stress-test time

2017-04-19 Thread Francesco PADOVANI
y to optimize the subscription phase? Maybe also by adjusting our configuration settings? Thanks as usual. Francesco From: Martyn Taylor Sent: Tuesday, April 11, 2017 12:49:57 PM To: users@activemq.apache.org Subject: Re: Apache Artemis - Stress-test time Clebert:

Re: Apache Artemis - Stress-test time

2017-04-14 Thread alessandro.zann...@bticino.it
lugin): what make you think our classes cause the cpu usage growing? If you need other information, just let me know! Thanks for your support! -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724960.html Sent from the ActiveMQ -

Re: Apache Artemis - Stress-test time

2017-04-13 Thread Clebert Suconic
t; Hello, > > we've made another test , just making some subscriptions (so, no retained > messages involved) . > > Nothing changed: the cpu has reached very quickly 100% of usage! > > Attached the new jstack output. > > Looking at jstack output it seems that artemis tries

Re: Apache Artemis - Stress-test time

2017-04-13 Thread alessandro.zann...@bticino.it
@Mtaylor @clebert Any news for us ? Thanks. -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724924.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Apache Artemis - Stress-test time

2017-04-11 Thread alessandro.zann...@bticino.it
Hello, we've made another test , just making some subscriptions (so, no retained messages involved) . Nothing changed: the cpu has reached very quickly 100% of usage! Attached the new jstack output. Looking at jstack output it seems that artemis tries to check on retained messages al

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 - Stress-test time

2017-04-10 Thread Clebert Suconic
jstack.zip <http://activemq.2283324.n4.nabble.com/file/n4724787/jstack.zip> > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724787.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Clebert Suconic

Re: Apache Artemis - Stress-test time

2017-04-10 Thread alessandro.zann...@bticino.it
Here attached the output of "jstack -F" command. jstack.zip <http://activemq.2283324.n4.nabble.com/file/n4724787/jstack.zip> -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724787.html Sent from the ActiveM

Re: Apache Artemis - Stress-test time

2017-04-10 Thread Justin Bertram
> Can you help us Justin, to understand why ?? Not until you get me something more concrete like a reproducible test-case, output from a profiler indicating where the hot-spot is, or even a series of thread dumps from when CPU utilization is high. Justin - Original Message - F

Re: Apache Artemis - Stress-test time

2017-04-10 Thread alessandro.zann...@bticino.it
Hello, I'm a colleague of Francesco. We just made another test , just connecting, without subscribing, in order to check if the problem is the authorization procedure... and we discovered that this step doesn't occupy a lot of cpu (never reached 5% of usage). So we can say that the &q

Re: Apache Artemis - Stress-test time

2017-04-07 Thread francesco81
Hi Justin, you're right. We will investigate more closely our login module (redis itself doesn't seem to be a bottleneck ...but of course it could be the constantly querying of it). And we'll also try to perform a stress test session with security disabled. Just for completeness,

Re: Apache Artemis - Stress-test time

2017-04-07 Thread Justin Bertram
: Re: Apache Artemis - Stress-test time Hi Clebert, my logging is at the DEBUG level. Inside the artemis.log file, I see calls to the LoginModule methods when client connects, subscribes and unsubscribes. Following the thread trace when it happens during subscription: "Thread-1 (activemq-netty

Re: Apache Artemis - Stress-test time

2017-04-07 Thread francesco81
utor$5.run(SingleThreadEventExecutor.java:873) at java.lang.Thread.run(Thread.java:745) Francesco -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724735.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Apache Artemis - Stress-test time

2017-04-07 Thread Justin Bertram
onfig (which it is by default) at which point the values will be read from disk again. In any event, my recommendation would be to turn off security (i.e. using false) and then test again to see if that's a real bottleneck. Justin - Original Message - From: "francesc

Re: Apache Artemis - Stress-test time

2017-04-07 Thread Clebert Suconic
o > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724710.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- Clebert Suconic

Re: Apache Artemis - Stress-test time

2017-04-07 Thread francesco81
Artemis installation (as you suggested). And it seems to have a certain impact on cpu usage. Is this a normal behavior (if yes, something escapes me)? Or it could be a bug? Francesco -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time

Re: Apache Artemis - Stress-test time

2017-04-06 Thread Justin Bertram
imely thread dumps are a great way to see what's consuming CPU within the broker itself. Good luck. Justin - Original Message - From: "francesco81" To: users@activemq.apache.org Sent: Thursday, April 6, 2017 10:08:03 AM Subject: Re: Apache Artemis - Stress-test time Hi Ju

Re: Apache Artemis - Stress-test time

2017-04-06 Thread francesco81
tivemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724632.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Apache Artemis - Stress-test time

2017-04-05 Thread Justin Bertram
mance analysis is probably going to require profiling to identify hot-spots in the code. Are you set up for this kind of work? Justin - Original Message - From: "francesco81" To: users@activemq.apache.org Sent: Wednesday, April 5, 2017 9:30:04 AM Subject: Re: Apache Artemi

Re: Apache Artemis - Stress-test time

2017-04-05 Thread francesco81
Hi Justin, unfortunately tls is mandatory for our use case :-( I can make a stress test session without it, but it wouldn't be so significative for the real case. Anyway, as you suggest, I'll try it just to see the difference in term of performances. Thanks -- View this message

Re: Apache Artemis - Stress-test time

2017-04-05 Thread Justin Bertram
Have you tried your test without SSL? SSL can be pretty CPU intensive. Justin - Original Message - From: "francesco81" To: users@activemq.apache.org Sent: Wednesday, April 5, 2017 6:57:38 AM Subject: Re: Apache Artemis - Stress-test time Hi Martyn, after a while of s

Re: Apache Artemis - Stress-test time

2017-04-05 Thread francesco81
Hi Martyn, after a while of stress-test sessions with the new 2.1.0-SNAPSHOT of Artemis, I'm fairly confident to say that ram consumption now seems ok. Currently, instead, we're facing some problems with cpu usage during clients connections. Our stress test program, at the beginning, i

Re: Apache Artemis - Stress-test time

2017-03-27 Thread Martyn Taylor
eedback. > > Thanks a lot as usual! > > Francesco > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/Apache-Artemis-Stress-test-time-tp4723999p4724064.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

Re: Apache Artemis - Stress-test time

2017-03-23 Thread francesco81
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 you a feedback. Thanks a lot as usual! Francesco -- View this message in context: http://activemq.2283324.n4.nabble.com/Apache-Artemis-Stress-test-time-tp47239

Re: Apache Artemis - Stress-test time

2017-03-22 Thread Martyn Taylor
e: > 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 c

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

Re: Apache Artemis - Stress-test time

2017-03-22 Thread Clebert Suconic
of master (upcoming 2.0.1) as I committed a few improvements. On Wed, Mar 22, 2017 at 1:39 PM Francesco PADOVANI < francesco.padov...@bticino.it> wrote: > Hi all, > > we're currently performing some stress-test sessions against our Apache > Artemis instance. > To do this, we

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 t

TransportDisposedIOException: peer (vm://test#3) stopped.

2017-02-27 Thread Derek Mahar
49:53,081|WARN|ActiveMQ Connection Executor: vm://test#2|o.s.j.c.CachingConnectionFactory|4330| org.springframework.jms.connection.SingleConnectionFactory.onException(SingleConnectionFactory.java:322) Encountered a JMSException - resetting the underlying JMS Connection javax.jms.JMSException: peer (vm://t

Re: [CMS] one Activemq-cpp test hangs

2016-11-21 Thread vgiacomini
I moved forward in my research and i finally found that it hangs here: std::string clientId = UUID::randomUUID().toString(); -- View this message in context: http://activemq.2283324.n4.nabble.com/CMS-one-Activemq-cpp-test-hangs-tp4719323p4719325.html Sent from the ActiveMQ - User mailing

[CMS] one Activemq-cpp test hangs

2016-11-21 Thread vgiacomini
Hi, I trying to get activemq-cpp-3.8.2 working for AIX 7.1.0 First, some precisions: OS is AIX 7.10 compiler is xlc 13.1.3 APR is 1.4.6 CPPUnit is 1.12.1 So, library libactivemq.a is correctly built but it doesn't work. when passing unit test (./activemq-test), I got this beh

Create and test a durable topic?

2016-11-18 Thread peter59
Hello, I'm a new user of ApacheMQ and I want to know what are the steps for create and test a durable topic in the DurableChat application ? I'm using the terminal window to do this, but I don't how, so, I hope you could help me :) Thanks in advance! -- View this message in

Re: Test-case for problem with connections not refreshing when pooled with failover

2016-09-28 Thread akhil
Hi Tim , I was having a question before but now everything seems to be fine. Yes this question is no more applicable since it got resolved and which we updated on the other post. Thanks, Akhil. -- View this message in context: http://activemq.2283324.n4.nabble.com/Timeout-and-Failover-on-a-q

Re: Test-case for problem with connections not refreshing when pooled with failover

2016-09-28 Thread Tim Bain
am using Broker A and Broker B and sharing the common storage in which one of them is master and slave at the same time . so i am starting with the broker a as master which acquired db lock and slave is running but it is just like a back up mode. My test started with Broker A as master -- 2 thr

Re: Test-case for problem with connections not refreshing when pooled with failover

2016-09-20 Thread akhil
using Broker A and Broker B and sharing the common storage in which one of them is master and slave at the same time . so i am starting with the broker a as master which acquired db lock and slave is running but it is just like a back up mode. My test started with Broker A as master -- 2 threads

Re: problems getting test results deterministic

2016-07-21 Thread jnicolay
Hi Yes, this shifts the probabilities somewhat, but still doesn't make it work all the time. In the exact current setup plus ?create=false I got 3 times missed messages and 17 successes. But I still have a Thread.sleep at the beginning of every test and a System.gc which should both n

Re: problems getting test results deterministic

2016-07-20 Thread Quinn Stevenson
Have you tried explicitly disabling the automatic creation of embedded brokers (i.e. add create=false option to vm://…. ) > On Jul 20, 2016, at 9:15 AM, jnicolay wrote: > > Hi all > > We ran into some strange behavior in our application and I tried to reproduce > it in a u

problems getting test results deterministic

2016-07-20 Thread jnicolay
Hi all We ran into some strange behavior in our application and I tried to reproduce it in a unit test. Our setup looks somewhat like this: +---+ ++ +---+ | embedded1 | <---> | master | <-->

Re: How to test prefetch size is actually working

2016-03-21 Thread Tim Bain
edAcknowlege="true" > isn't wrong either, does the client "ack" groups of messages using a single > network call instead of individually? (Batch size being 65% of > prefetchSize) > > > > -- > View this message in context: > http://activemq.2283324.n4

Re: How to test prefetch size is actually working

2016-03-21 Thread Raffi
etchSize) -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-test-prefetch-size-is-actually-working-tp4709766p4709780.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to test prefetch size is actually working

2016-03-21 Thread Tim Bain
> > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-to-test-prefetch-size-is-actually-working-tp4709766.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >

How to test prefetch size is actually working

2016-03-20 Thread Raffi
ssing something simple, I know it :-) -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-test-prefetch-size-is-actually-working-tp4709766.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ Soak Test

2015-11-27 Thread Basmajian, Raffi
Looking for soak test harness, is one available in the code base? Did a quick search, found one for Artemis, but need ActiveMQ Raffi This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is

Re: how do you test rollback with an embedded broker?

2015-09-14 Thread Christopher Shannon
Here's some information on dispatch policies: http://activemq.apache.org/dispatch-policies.html The default is round robin for queues but you can also set priorities. On Sun, Sep 13, 2015 at 5:42 PM, Kevin Burton wrote: > It seems to be fixated to the first consumer that had a message? I think

Re: how do you test rollback with an embedded broker?

2015-09-13 Thread Kevin Burton
It seems to be fixated to the first consumer that had a message? I think ideally it would be first come first serve. Setting prefetch=0 doesn’t seem to have any impact. I *kind* of think this is why the redelivery is set on the client but I might be wrong. It seems weird to me to set the redeli

Re: how do you test rollback with an embedded broker?

2015-09-13 Thread Tim Bain
I believe that setting prefetch=0 only changes how that message gets dispatched to the first consumer (pull vs. push); once it's there, I wouldn't expect the broker's behavior w.r.t. that dispatched message to change (and indeed you say it didn't). But as you say, closing the connection returns al

Re: how do you test rollback with an embedded broker?

2015-09-12 Thread Kevin Burton
AH ! Good point about the prefetch policy. That always confusing because it’s a way for messages to kind of be delivered but hidden. Anyway. Setting prefetch to zero doesn’t resolve it.. But closing the second connection DOES… So I think this is how it works.. which I couldn’t find documented

Re: how do you test rollback with an embedded broker?

2015-09-12 Thread Christopher Shannon
Your problem is you are always creating a new consumer in your consume() method but never closing it. So the consumer is sticking around and hanging onto messages in prefetch. You either need to reuse your message consumer (call receive() on the same open consumer after rollback because it's gett

how do you test rollback with an embedded broker?

2015-09-11 Thread Kevin Burton
OK. For the life of me I can’t get this to work. https://gist.github.com/burtonator/eb7a70e1750080ca621e Basically I want to call rollback() so that a message is retries later. This way if there’s a transient but like a database connection failing it gets retried (but of course uses the retry po

JMeter test ends with "ERROR - jmeter.protocol.jms.client.ReceiveSubscriber: The connection is already closed"

2014-05-05 Thread Tom_Z
Hi, in a very simple jmeter (single thread, one loop) test I do try to receive a message with a JMS Subscriber sampler for only one sample. The tests fails due to '2014/05/05 15:38:19 ERROR - jmeter.protocol.jms.client.ReceiveSubscriber: The connection is already closed.' What is the

Re: test post, could someone please reply to this so I know I am properly subscribed

2014-03-18 Thread Howard W. Smith, Jr.
e do a quick reply to this post so that I know I am > properly subscribed and can participate in discussions? > > Thanks in advance > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/test-post-could-someone-please-reply-to-this-so-I-know-I-a

test post, could someone please reply to this so I know I am properly subscribed

2014-03-18 Thread mqadmin44
? Thanks in advance -- View this message in context: http://activemq.2283324.n4.nabble.com/test-post-could-someone-please-reply-to-this-so-I-know-I-am-properly-subscribed-tp4679172.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMq test using Jmeter

2014-01-27 Thread jlindwall
ivemq.2283324.n4.nabble.com/ActiveMq-test-using-Jmeter-tp4676821p4676856.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMq test using Jmeter

2014-01-27 Thread kgopi
Hi, I have activemq based application and it is server, clients communication oriented. I have installed Jmeter in a separate machine. I am trying to test the activemq application through Jmeter tool. Can u help me how to configure and test the application. -- View this message in context

RE: Embedded Broker instantiated 2 times when subclassing test.

2013-06-05 Thread guillaume.surrel
Thanks! This is now working great. Guillaume -Message d'origine- De : Christian Posta [mailto:christian.po...@gmail.com] Envoyé : mardi 4 juin 2013 18:54 À : users@activemq.apache.org Objet : Re: Embedded Broker instantiated 2 times when subclassing test. yep, this is expected

Re: Embedded Broker instantiated 2 times when subclassing test.

2013-06-04 Thread Christian Posta
yep, this is expected when using the spring test functionality. your subclass will inherit the config from parent class which also loads a broker. take a look at link below to turn off inheritance: @ContextConfiguration(inheritLocations=false) http://static.springsource.org/spring/docs/3.0.x

Re: Embedded Broker instantiated 2 times when subclassing test.

2013-06-04 Thread Jean-Baptiste Onofré
got a test class which uses an embedded broker (created using spring configuration). Another test class extends this one to run these tests with another spring configuration which includes some changes. I’ve reproduced the problem on a minimal project attached. I’m running on jdk1.6.0_45. Is this a

Re: Trying to test the queue persistence. Can't send messages when breakpoint on consumer.

2012-09-05 Thread Sébastien Lorber
-policy=thread so that only the consumer thread is suspended and the server threads can continue to run. 2012/9/4 Sébastien Lorber > Hello, > > I'm trying to test the queue persistence of ActiveMQ. > > I have an embedded ActiveMQ server with an unique consumer. > This embe

Re: how can I run the benchmark test?

2012-09-04 Thread ceposta
@rmn190 I've added a new blog post describing benchmarking JMS Layer, specifically ActiveMQ: http://www.christianposta.com/blog/?p=268 - http://www.christianposta.com/blog -- View this message in context: http://activemq.2283324.n4.nabble.com/how-can-I-run-the-benchmark

Trying to test the queue persistence. Can't send messages when breakpoint on consumer.

2012-09-04 Thread Sébastien Lorber
Hello, I'm trying to test the queue persistence of ActiveMQ. I have an embedded ActiveMQ server with an unique consumer. This embedded server receive JMS messages from many other JVM applications. It works fine, consumer application receive the notifications. So i've tried t

Re: how can I run the benchmark test?

2012-08-30 Thread Torsten Mielke
Answers in-line. On Aug 29, 2012, at 4:19 PM, rmn190 wrote: > hello. > > would you please explain the usage of " > http://activemq.apache.org/activemq-performance-module-users-manual.html": > > 1, how can I add more test case? What kind of test do you like to ad

Re: how can I run the benchmark test?

2012-08-29 Thread rmn190
hello. would you please explain the usage of " http://activemq.apache.org/activemq-performance-module-users-manual.html": 1, how can I add more test case? 2, and how can I interpet the test case result? it would be better if there is some tutorial about the performance plugin. tha

Re: how can I run the benchmark test?

2012-08-29 Thread rmn190
thanks! it works well. but would you please help me further? could you tell me how to graph and chart the gerenated test results? On Wed, Aug 29, 2012 at 6:06 PM, Torsten Mielke-2 [via ActiveMQ] < ml-node+s2283324n4655754...@n4.nabble.com> wrote: > > This page that you are referr

Re: how can I run the benchmark test?

2012-08-29 Thread Torsten Mielke
://github.com/chirino/jms-benchmark Hope this helps. Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Aug 29, 2012, at 5:54 AM, rmn190 wrote: > > I want to run the benchmark test, and the activemq version is 5.6.0. > > And I follow the steps > http://activemq.2283324.n4.

how can I run the benchmark test?

2012-08-28 Thread rmn190
I want to run the benchmark test, and the activemq version is 5.6.0. And I follow the steps http://activemq.2283324.n4.nabble.com/file/n4655748/benchmarkTest.png but the maven says: Unknown lifecycle phase "server". So what can I do? -- View this message in context: http:

Re: Test harness to verify Message Order Preservation

2012-08-21 Thread sk92129
upted."); } } super.preProcessDispatch(messageDispatch); } This caused all the messages that should have come later, to not appear at all on the consumer side. -- View this message in context: http://activemq.2283324.n4.nabble.com/Test-harness-to-verify-Mes

Re: Test harness to verify Message Order Preservation

2012-08-21 Thread sk92129
My thoughts on this : 1.) For the test harness activeMQ brokers, install an Interceptor based on BrokerFilter. http://activemq.apache.org/interceptors.html Install my interceptor into the broker. On inspection of the accessible methods on BrokerFilter, I am not sure which methods would allow

Test harness to verify Message Order Preservation

2012-08-15 Thread sk92129
Hi, I am looking into how to build a configuration and verify a test that preserves JMS message order, as describe in the camel features below: http://activemq.apache.org/exclusive-consumer.html http://activemq.apache.org/message-groups.html The basic requirements for message order

Re: STOMP 1.1 NACK test and activemq.prefetchSize question

2012-07-13 Thread Michael Justin
Hi Christian, thank you for the link! From what I understand, Apollo uses the idea of consumer "credit window" to decide how many messages to send down to the client that haven't been ACKed. use the "credit" header in your stomp frame to set the credit window: http://activemq.apache.org/apollo

Re: STOMP 1.1 NACK test and activemq.prefetchSize question

2012-07-13 Thread ceposta
cumentation/user-manual.html#Subscription_Flow_Control - http://www.christianposta.com -- View this message in context: http://activemq.2283324.n4.nabble.com/STOMP-1-1-NACK-test-and-activemq-prefetchSize-question-tp4653784p4653974.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

STOMP 1.1 NACK test and activemq.prefetchSize question

2012-07-07 Thread Michael Justin
Hello, I am trying to set up a STOMP 1.1 NACK test for ActiveMQ 5.6.0 and Apollo 1.3. The tests first sends three messages to a queue. Then it subscribes the destination queue with a prefetch size of 3, like SUBSCRIBE destination:/queue/ExampleQueue ack:client-individual id:{A06FD6DB-6487

Test if broker is alive?

2012-06-15 Thread stephenju
How do I test if a broker/server is alive in ActiveMQ-CPP? If the server is down and I call cms::Connection::start(), it just hangs. I tried some failover options like this and it doesn't work: -- View this message in context: http://activemq.2283324.n4.nabble.com/Test-if-broker-is-

Test Hanging On CI Server

2012-04-24 Thread James Carr
Hi All, I'm using activeMQ to provided an embedded JMS environment for testing and while my tests work fine on windows and ubuntu linux, it hangs on our Jenkins CI server (which is running Oracle Enterprise Linux). Here's the unit test, slimmed down to ignore all the noise while I was

Re: Performance test - default configuration only?

2011-11-14 Thread martinec
Hello, What command do you try to use and how do you try to set a configuration file? I have never specified a configuration file for producer or consumer but simply set all options using -D arguments, e.g. activemq-perf:producer -Dproducer.sessTransacted=false -Dproducer.sessAckMode=autoAck

Re: Performance test - default configuration only?

2011-11-14 Thread Torsten Mielke
... That works fine for me. Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Nov 14, 2011, at 3:54 PM, martinec wrote: > Hello, > > I have downloaded activemq-parent-5.5.0-source-release package to run the > activemq performance test. I had been able to

  1   2   >