Interface AmqpConnectionsMBean

  • All Known Implementing Classes:
    AmqpConnections

    public interface AmqpConnectionsMBean
    • Method Detail

      • addServer

        void addServer​(String name,
                       String host,
                       int port)
        Adds an AMQP server and starts a live connection with it, accessible via the host and port provided. A server is uniquely identified by the given name. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        host - host of the added server
        port - port of the added server
      • addServer

        void addServer​(String name,
                       String host,
                       int port,
                       String user,
                       String pass)
        Adds an AMQP server and starts a live connection with it, accessible via the host and port provided. A server is uniquely identified by the given name. Adding an existing server won't do anything.
        Parameters:
        name - the name identifying the server
        host - host of the added server
        port - port of the added server
        user - user name
        pass - user password
      • 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.