Interface WmConnection

All Superinterfaces:
javax.jms.Connection
All Known Subinterfaces:
WmQueueConnection, WmTopicConnection

public interface WmConnection extends javax.jms.Connection
Interface defining webMethods extensions to javax.jms.Connection and its subclasses.
  • Field Details

  • Method Details

    • getFactory

      javax.jms.ConnectionFactory getFactory() throws javax.jms.JMSException
      Returns the connection factory used to create this connection.
      Returns:
      the connection factory used to create his connection
      Throws:
      javax.jms.JMSException - if the JMS provider fails to get the connection factory for this connection.
    • getBroker

      String getBroker() throws javax.jms.JMSException
      Get the Broker to which this connection is currently connected.
      Returns:
      the Broker name
      Throws:
      javax.jms.JMSException - if the JMS provider fails to get the Broker for this connection
    • getTerritory

      String getTerritory() throws javax.jms.JMSException
      Get the territory of the Broker to which this connection is currently connected.
      Returns:
      the territory name
      Throws:
      javax.jms.JMSException - if the JMS provider fails to get the territory
    • getSSLEncryptionLevel

      int getSSLEncryptionLevel() throws javax.jms.JMSException
      Get the SSL encryption level.
      Returns:
      ENCRYPT_LEVEL_NO_ENCRYPTION or ENCRYPT_LEVEL_ENCRYPTION
      Throws:
      javax.jms.JMSException - if the JMS provider fails to get the encryption level for this connection.
    • getSSLServerCertificate

      Properties getSSLServerCertificate() throws javax.jms.JMSException
      Get the Broker's SSL certificate properties. The included property names are: "subjectDn", "issuerDn", "status" "serialNumber", "beginDate", "endDate".
      Returns:
      the server certificate properties, or null if not an SSL connection
      Throws:
      javax.jms.JMSException - if the JMS provider fails to get the server certificate for this connection.
    • ping

      void ping() throws javax.jms.JMSException
      Pings the Broker to determine if there is network connectivity.
      Throws:
      javax.jms.JMSException - if the JMS provider fails to ping the Broker
    • getAccessLabel

      short[] getAccessLabel() throws javax.jms.JMSException
      Get the client access label
      Returns:
      access labels
      Throws:
      javax.jms.JMSException