You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jan Gargulák <ja...@trixi.cz> on 2015/11/02 15:14:41 UTC

Get ActiveMQ broker version programmatically

Hi,
we need to get the broker version remotely through its API. Is there any way
how to do it? We're on ActiveMQ v5.11.1.

Thank you, Jan Gargulak



--
View this message in context: http://activemq.2283324.n4.nabble.com/Get-ActiveMQ-broker-version-programmatically-tp4703591.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

RE: Get ActiveMQ broker version programmatically

Posted by "Basmajian, Raffi" <rb...@ofiglobal.com>.
Jan,

If you're using jolokia with ActiveMQ, it's even simpler over Http:

http://yourBroker:8181/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=amq/BrokerVersion

Use GET, and make sure to set Basic Auth header if JMX security is enabled,

-----Original Message-----
From: Basmajian, Raffi [mailto:rbasmajian@ofiglobal.com] 
Sent: Monday, November 02, 2015 9:34 AM
To: users@activemq.apache.org
Subject: RE: Get ActiveMQ broker version programmatically [ EXTERNAL ]

You can do it via JMX,

Attribute - BrokerVersion
MBean - org.apache.activemq:type=Broker,brokerName=<yourBrokerName>



-----Original Message-----
From: Jan Gargulák [mailto:jan.gargulak@trixi.cz] 
Sent: Monday, November 02, 2015 9:15 AM
To: users@activemq.apache.org
Subject: Get ActiveMQ broker version programmatically [ EXTERNAL ]

Hi,
we need to get the broker version remotely through its API. Is there any way how to do it? We're on ActiveMQ v5.11.1.

Thank you, Jan Gargulak



--
View this message in context: http://activemq.2283324.n4.nabble.com/Get-ActiveMQ-broker-version-programmatically-tp4703591.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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 addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. OppenheimerFunds may, at its sole discretion, monitor, review, retain and/or disclose the content of all email communications.

RE: Get ActiveMQ broker version programmatically

Posted by "Basmajian, Raffi" <rb...@ofiglobal.com>.
You can do it via JMX,

Attribute - BrokerVersion
MBean - org.apache.activemq:type=Broker,brokerName=<yourBrokerName>



-----Original Message-----
From: Jan Gargulák [mailto:jan.gargulak@trixi.cz] 
Sent: Monday, November 02, 2015 9:15 AM
To: users@activemq.apache.org
Subject: Get ActiveMQ broker version programmatically [ EXTERNAL ]

Hi,
we need to get the broker version remotely through its API. Is there any way how to do it? We're on ActiveMQ v5.11.1.

Thank you, Jan Gargulak



--
View this message in context: http://activemq.2283324.n4.nabble.com/Get-ActiveMQ-broker-version-programmatically-tp4703591.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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 addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies. OppenheimerFunds may, at its sole discretion, monitor, review, retain and/or disclose the content of all email communications.