Class ActiveMQConnectionMetaData

java.lang.Object
org.apache.activemq.artemis.jms.client.ActiveMQConnectionMetaData
All Implemented Interfaces:
ConnectionMetaData

public class ActiveMQConnectionMetaData extends Object implements ConnectionMetaData
ActiveMQ Artemis implementation of a JMS ConnectionMetaData.
  • Field Details

  • Constructor Details

    • ActiveMQConnectionMetaData

      public ActiveMQConnectionMetaData(Version serverVersion)
      Create a new ActiveMQConnectionMetaData object.
  • Method Details

    • getJMSVersion

      public String getJMSVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging API version.
      Specified by:
      getJMSVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging API version
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSMajorVersion

      public int getJMSMajorVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging major version number.
      Specified by:
      getJMSMajorVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging API major version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSMinorVersion

      public int getJMSMinorVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging minor version number.
      Specified by:
      getJMSMinorVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging API minor version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSProviderName

      public String getJMSProviderName() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging provider name.
      Specified by:
      getJMSProviderName in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging provider name
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderVersion

      public String getProviderVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging provider version.
      Specified by:
      getProviderVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging provider version
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderMajorVersion

      public int getProviderMajorVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging provider major version number.
      Specified by:
      getProviderMajorVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging provider major version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getProviderMinorVersion

      public int getProviderMinorVersion() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets the Jakarta Messaging provider minor version number.
      Specified by:
      getProviderMinorVersion in interface ConnectionMetaData
      Returns:
      the Jakarta Messaging provider minor version number
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.
    • getJMSXPropertyNames

      public Enumeration getJMSXPropertyNames() throws JMSException
      Description copied from interface: ConnectionMetaData
      Gets an enumeration of the JMSX property names.
      Specified by:
      getJMSXPropertyNames in interface ConnectionMetaData
      Returns:
      an Enumeration of JMSX property names
      Throws:
      JMSException - if the Jakarta Messaging provider fails to retrieve the metadata due to some internal error.