* @exception ConnectException If the admin connection is closed or broken.
* @exception AdminException If the request fails.
*/
public void setNbMaxMsg(String subName, int nbMaxMsg) throws ConnectException, AdminException {
// TODO: Subscription sub = getSubscription(subName);
doRequest(new SetNbMaxMsgRequest(proxyId, nbMaxMsg, subName));
}