avis
avis

Reputation: 599

Getting the ActiveMQ version from the jar

Is there an option to find the Apache ActiveMQ version from the ActiveMQ jar? Does it log the inforamtion or is there a file present in the jar?

Upvotes: 0

Views: 2223

Answers (2)

Patrick Dewey
Patrick Dewey

Reputation: 31

From a Java Client you can get this information by calling

org.apache.activemq.ActiveMQConnectionMetaData.getProviderVersion()

Upvotes: 3

Pawel Solarski
Pawel Solarski

Reputation: 1048

I found this in activemq-all-5.7.0.jar's manifest file

Manifest-Version: 1.0
Implementation-Vendor: The Apache Software Foundation
Implementation-Title: ActiveMQ :: All JAR bundle
Implementation-Version: 5.7.0
Implementation-Vendor-Id: org.apache.activemq
Built-By: dejanb
Build-Jdk: 1.6.0_33
Specification-Vendor: The Apache Software Foundation
Specification-Title: ActiveMQ :: All JAR bundle
Created-By: Apache Maven
Specification-Version: 5.7.0
Archiver-Version: Plexus Archiver

Upvotes: 2

Related Questions