Class SetNbMaxMsgRequest

    • Field Detail

      • nbMaxMsg

        private int nbMaxMsg
        nbMaxMsg value (-1 no limit).
      • subName

        private String subName
        subscription name
    • Constructor Detail

      • SetNbMaxMsgRequest

        public SetNbMaxMsgRequest​(String id,
                                  int nbMaxMsg)
        Constructs a SetNbMaxMsg instance.
        Parameters:
        id - Identifier of the queue or subscription.
        nbMaxMsg - nb Max of Message (-1 no limit).
      • SetNbMaxMsgRequest

        public SetNbMaxMsgRequest()
      • SetNbMaxMsgRequest

        public SetNbMaxMsgRequest​(String id,
                                  int nbMaxMsg,
                                  String subName)
        Constructs a SetNbMaxMsg instance.
        Parameters:
        id - Identifier of the queue or subscription.
        nbMaxMsg - nb Max of Message (-1 no limit).
        subName - Subscription name.
    • Method Detail

      • getNbMaxMsg

        public int getNbMaxMsg()
        Returns the nbMaxMsg value.
        Returns:
        The nbMaxMsg value.
      • getSubName

        public String getSubName()
        Returns SubName.
        Returns:
        The subscription identifier.