Class DeadMQueue

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
    • Constructor Detail

      • DeadMQueue

        public DeadMQueue()
        Deprecated.
      • DeadMQueue

        public DeadMQueue​(String name)
        Deprecated.
    • Method Detail

      • createDeadMQueue

        public static Queue createDeadMQueue​(String agentId,
                                             String name)
        Deprecated.
      • create

        public static Queue create()
                            throws ConnectException,
                                   AdminException
        Deprecated.
        Admin method creating and deploying a dead message queue on the local server.

        The request fails if the destination deployment fails server side.

        Be careful this method use the static AdminModule connection.

        Throws:
        ConnectException - If the admin connection is closed or broken.
        AdminException - If the request fails.
      • create

        public static Queue create​(int serverId)
                            throws ConnectException,
                                   AdminException
        Deprecated.
        Admin method creating and deploying a dead message queue on a given server.

        The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.

        Be careful this method use the static AdminModule connection.

        Parameters:
        serverId - The identifier of the server where deploying the queue.
        Throws:
        ConnectException - If the admin connection is closed or broken.
        AdminException - If the request fails.
      • create

        public static Queue create​(int serverId,
                                   String name)
                            throws ConnectException,
                                   AdminException
        Deprecated.
        Admin method creating and deploying a dead message queue on a given server.

        The request fails if the target server does not belong to the platform, or if the destination deployment fails server side.

        Be careful this method use the static AdminModule connection.

        Parameters:
        serverId - The identifier of the server where deploying the queue.
        name - The name of the created queue.
        Throws:
        ConnectException - If the admin connection is closed or broken.
        AdminException - If the request fails.
      • toString

        public String toString()
        Deprecated.
        Description copied from class: Queue
        Returns a String image of the queue.
        Specified by:
        toString in interface Queue
        Overrides:
        toString in class Queue
        Returns:
        A provider-specific identity values for this queue.