Name

ConnectionMetaData

Synopsis

The Connection.getMetaData() method returns a ConnectionMetaData object that holds information about the JMS connection, including the version of JMS in use by the provider, and version information about the provider itself.

public interface ConnectionMetaData {
// Property Accessor Methods (by property name)
   public abstract int getJMSMajorVersion(
        ) throws JMSException;  
   public abstract int getJMSMinorVersion(
        ) throws JMSException;  
   public abstract String getJMSProviderName(
        ) throws JMSException;  
   public abstract String getJMSVersion(
        ) throws JMSException;  
   public abstract java.util.Enumeration getJMSXPropertyNames(
        ) throws JMSException;  
   public abstract int getProviderMajorVersion(
        ) throws JMSException;  
   public abstract int getProviderMinorVersion(
        ) throws JMSException;  
   public abstract String getProviderVersion(
        ) throws JMSException;  
}

Returned By

javax.jms.Connection.getMetaData()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.