Artemis documentation

2017-11-25 Thread rth
This is probably going to come off as whining. However, I hope the maintainers of Artemis will take it in the spirit it is intended, as a little (hopefully) constructive criticism. >From what I gather, Artemis is going to replace ActiveMQ at some point in the future. If that is the case, I feel ii

Re: Network of brokers and destination policies

2017-08-10 Thread rth
Here's a simplified diagram of my broker network: Application 1 and Application 2 both both use messaging internally. Their messages do not need to be distributed across the broker network. The applications consume message

Network of brokers and destination policies

2017-08-02 Thread rth
We currently have a single broker that is configured with several entries (all for topics). We will be a network of brokers. My question is this: how should I deal with the entries? Do they need to be replicated across all brokers' configuration files? Across some subset of brokers (say, brokers

Re: How can memory usage be at 10,000% of available memory?

2017-05-24 Thread rth
A colleague provided these answers. Is the response to #1 a concern? (Sorry for the formatting issues. I have no idea how to format raw text in this UI.) 1. What version of ActiveMQ are you running? ActiveMQ Broker version: 5.13.1, ActiveMQ Client version: 5.14.2 2. What are the limits you're s

How can memory usage be at 10,000% of available memory?

2017-05-22 Thread rth
I'm seeing messages like this in my logs: 2017-05-17 12:42:23.610+ | DEBUG | org.apache.activemq.usage.Usage  |  | main | default:memory:topic://some.topic:memory: usage change from: 10694% of available memory, to: 10695% of available memory Flow control is enabled, and messages are being

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: Configuring destination memory usage with wild cards

2016-12-07 Thread rth
Thanks for the response. They are visible via JMX and that's why I assumed that was the case. I just wanted confirmation. Has there been any though given to making those memory limits configurable as megabytes? It would be more human friendly, and easier to calculate with regard to the memoryUsage

Configuring destination memory usage with wild cards

2016-12-06 Thread rth
If you configure memory usage with a policyEntry using a wildcard, does each destination that matches get that much memory? For instance, if I have this in my configuration file: And I have two topics, /results.1/ and /results.2/. Will each topic get 1MB of memory? Or will they share 1MB of me

Re: Statistics plugin is reporting averageMessageSize as 0

2016-11-24 Thread rth
Yes, it looks like a bug. The StatisticsBroker, on line 123, invokes stats.getMessageSize().getAveragePerSecond() instead of getAverageSize(). getAveragePerSecond divides 1000 by the result of getAverageSize(). So I have a topic with an actual averageMessageSize of 1242. The statistic plugin divid

Statistics plugin is reporting averageMessageSize as 0

2016-11-24 Thread rth
I'm using ActiveMQ 5.13.2 with the statistics plugin. On our working system, JMX is showing what I would expect to be the correct average message size on our topics and queues, but the statistics plugin is reporting 0. At first I thought I must have simply done something stupid when formatting out

Re: Connection configuration options: do cms options work in Java?

2015-10-23 Thread rth
Never mind. I just found out she sent me the wrong link. She was using the jms prefetch option after all. Sorry for the spam. -- View this message in context: http://activemq.2283324.n4.nabble.com/Connection-configuration-options-do-cms-options-work-in-Java-tp4703342p4703343.html Sent from the

Connection configuration options: do cms options work in Java?

2015-10-23 Thread rth
So this is a little weird. One of my QA colleagues ran out of memory in a Java client. She was reading the docs and came across this page , which she did not realize is documentation for ActiveMQ-CPP. Even though this was a Java client, she added

prefetch and auto acknowledge

2015-10-20 Thread rth
If I set a prefetch limit will it have any effect if my consumer is using auto-acknowledge? I'm guessing the answer is no. It seems to me the message would be sent to the consumer and auto-acknowledged, so the broker would keep sending messages. Is that correct? -- View this message in context