Interface MOMCommands

  • All Known Implementing Classes:
    MOMCommandsImpl

    public interface MOMCommands
    • Method Detail

      • list

        void list​(String[] category)
        List items of the given category
        Parameters:
        category - Category of item to list: destination, queue, topic, user
      • create

        void create​(String[] args)
        Creates a new destination
        Parameters:
        args - parameters of the command
      • delete

        void delete​(String[] args)
        Delete a destination or a user
        Parameters:
        args - {category, name}
      • queueLoad

        void queueLoad​(String[] args)
        Check the pending count of a queue
        Parameters:
        args - parameters of the command
      • subscriptionLoad

        void subscriptionLoad​(String[] args)
        Check the load of a subscription
        Parameters:
        args - parameters of the command
      • info

        void info​(String[] args)
        Display info about a destination (topic & subscription, queue)
        Parameters:
        args - ???
      • lsMsg

        void lsMsg​(String[] args)
        Display messages in queue
        Parameters:
        args - {queue name, message range}
      • ping

        void ping()
        Ping
      • deleteMsg

        void deleteMsg​(String[] args)
        Delete (a) message(s) in a destination
        Parameters:
        args -
      • clear

        void clear​(String[] args)
        Clear a destination, deleting all pending messages
        Parameters:
        args -
      • sendMsg

        void sendMsg​(String[] args)
        Send a new message in a destination
        Parameters:
        args -
      • receiveMsg

        void receiveMsg​(String[] args)
        Receive (a) message(s) from a destination
        Parameters:
        args -