DarthVader
DarthVader

Reputation: 55032

ActiveMQ real time configuration

I would like to change ActiveMQ configuration while it is running.

Let's say I want to increase the memory usage, flow control etc. while ActiveMQ is running, but i don't want to restart it. Is this possible? I tried it but the changes didn't kick in.

Is there a way to do this?

I do have C++ and java clients (producers and consumers respectively)

Upvotes: 2

Views: 674

Answers (2)

jkysam
jkysam

Reputation: 5779

As mentioned by bsnyder it you can change broker config at runtime with JMX. An easy way of doing this is to use JConsole to get to the broker's JMX Beans (instructions here), there is also a JMX API if you need to this through code.

Upvotes: 1

bsnyder
bsnyder

Reputation: 1199

The ActiveMQ configuration can be changed at runtime via JMX. However, any changes that are made at runtime will not be persisted to the configuration file.

Upvotes: 5

Related Questions