You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/12/03 15:25:23 UTC
svn commit: r1416541 -
/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java
Author: tabish
Date: Mon Dec 3 14:25:22 2012
New Revision: 1416541
URL: http://svn.apache.org/viewvc?rev=1416541&view=rev
Log:
fix for: https://issues.apache.org/jira/browse/AMQ-4202
Modified:
activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java
Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java?rev=1416541&r1=1416540&r2=1416541&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java (original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnectionMetaData.java Mon Dec 3 14:25:22 2012
@@ -27,7 +27,6 @@ import javax.jms.ConnectionMetaData;
* A <CODE>ConnectionMetaData</CODE> object provides information describing
* the <CODE>Connection</CODE> object.
*/
-
public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
public static final String PROVIDER_VERSION;
@@ -63,82 +62,83 @@ public final class ActiveMQConnectionMet
/**
* Gets the JMS API version.
- *
+ *
* @return the JMS API version
*/
-
+ @Override
public String getJMSVersion() {
return "1.1";
}
/**
* Gets the JMS major version number.
- *
+ *
* @return the JMS API major version number
*/
-
+ @Override
public int getJMSMajorVersion() {
return 1;
}
/**
* Gets the JMS minor version number.
- *
+ *
* @return the JMS API minor version number
*/
-
+ @Override
public int getJMSMinorVersion() {
return 1;
}
/**
* Gets the JMS provider name.
- *
+ *
* @return the JMS provider name
*/
-
+ @Override
public String getJMSProviderName() {
return "ActiveMQ";
}
/**
* Gets the JMS provider version.
- *
+ *
* @return the JMS provider version
*/
-
+ @Override
public String getProviderVersion() {
return PROVIDER_VERSION;
}
/**
* Gets the JMS provider major version number.
- *
+ *
* @return the JMS provider major version number
*/
-
+ @Override
public int getProviderMajorVersion() {
return PROVIDER_MAJOR_VERSION;
}
/**
* Gets the JMS provider minor version number.
- *
+ *
* @return the JMS provider minor version number
*/
-
+ @Override
public int getProviderMinorVersion() {
return PROVIDER_MINOR_VERSION;
}
/**
* Gets an enumeration of the JMSX property names.
- *
+ *
* @return an Enumeration of JMSX property names
*/
-
+ @Override
public Enumeration<String> getJMSXPropertyNames() {
Vector<String> jmxProperties = new Vector<String>();
+ jmxProperties.add("JMSXUserID");
jmxProperties.add("JMSXGroupID");
jmxProperties.add("JMSXGroupSeq");
jmxProperties.add("JMSXDeliveryCount");