mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1416541 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ff0746c190
commit
f5dff68d73
|
@ -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;
|
||||
|
@ -66,7 +65,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS API version
|
||||
*/
|
||||
|
||||
@Override
|
||||
public String getJMSVersion() {
|
||||
return "1.1";
|
||||
}
|
||||
|
@ -76,7 +75,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS API major version number
|
||||
*/
|
||||
|
||||
@Override
|
||||
public int getJMSMajorVersion() {
|
||||
return 1;
|
||||
}
|
||||
|
@ -86,7 +85,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS API minor version number
|
||||
*/
|
||||
|
||||
@Override
|
||||
public int getJMSMinorVersion() {
|
||||
return 1;
|
||||
}
|
||||
|
@ -96,7 +95,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS provider name
|
||||
*/
|
||||
|
||||
@Override
|
||||
public String getJMSProviderName() {
|
||||
return "ActiveMQ";
|
||||
}
|
||||
|
@ -106,7 +105,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS provider version
|
||||
*/
|
||||
|
||||
@Override
|
||||
public String getProviderVersion() {
|
||||
return PROVIDER_VERSION;
|
||||
}
|
||||
|
@ -116,7 +115,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS provider major version number
|
||||
*/
|
||||
|
||||
@Override
|
||||
public int getProviderMajorVersion() {
|
||||
return PROVIDER_MAJOR_VERSION;
|
||||
}
|
||||
|
@ -126,7 +125,7 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @return the JMS provider minor version number
|
||||
*/
|
||||
|
||||
@Override
|
||||
public int getProviderMinorVersion() {
|
||||
return PROVIDER_MINOR_VERSION;
|
||||
}
|
||||
|
@ -136,9 +135,10 @@ public final class ActiveMQConnectionMetaData implements ConnectionMetaData {
|
|||
*
|
||||
* @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");
|
||||
|
|
Loading…
Reference in New Issue