Interface JMSConnectionsMBean

  • All Known Implementing Classes:
    JMSConnections

    public interface JMSConnectionsMBean
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addServer​(String name, String cnxFactoryName)
      Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.
      void addServer​(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl)
      Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.
      void addServer​(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password)
      Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.
      void addServer​(String name, String cnxFactoryName, String jndiFactoryClass, String jndiUrl, String user, String password, String clientID)
      Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server.
      void deleteServer​(String name)
      Removes the live connection to the specified AMQP server.
      String[] getServerNames()
      Gets the list of known servers.
    • Method Detail

      • addServer

        void addServer​(String name,
                       String cnxFactoryName)
        Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        cnxFactoryName - the name identifying the connection factory on the JNDI server
      • addServer

        void addServer​(String name,
                       String cnxFactoryName,
                       String jndiFactoryClass,
                       String jndiUrl)
        Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        cnxFactoryName - the name identifying the connection factory on the JNDI server
        jndiFactoryClass - the JNDI connection factory class name
        jndiUrl - the JNDI URL
      • addServer

        void addServer​(String name,
                       String cnxFactoryName,
                       String jndiFactoryClass,
                       String jndiUrl,
                       String user,
                       String password)
        Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        cnxFactoryName - the name identifying the connection factory on the JNDI server
        jndiFactoryClass - the JNDI connection factory class name
        jndiUrl - the JNDI URL
        user - user name
        password - user password
      • addServer

        void addServer​(String name,
                       String cnxFactoryName,
                       String jndiFactoryClass,
                       String jndiUrl,
                       String user,
                       String password,
                       String clientID)
        Adds a JMS server and starts a live connection with it, accessible using the connection factory retrieved on the JNDI server. A server is uniquely identified by the name of the connection factory. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        cnxFactoryName - the name identifying the connection factory on the JNDI server
        jndiFactoryClass - the JNDI connection factory class name
        jndiUrl - the JNDI URL
        user - user name
        password - user password
        clientID - the client identifier for this connection
      • deleteServer

        void deleteServer​(String name)
        Removes the live connection to the specified AMQP server.
        Parameters:
        name - the name identifying the server
      • getServerNames

        String[] getServerNames()
        Gets the list of known servers.