A publisher sends a MAX_SUBSCRIBE_ID message to increase the number of subscriptions a subscriber can create within a session.
The Maximum Subscribe Id MUST only increase within a session, and receipt of a MAX_SUBSCRIBE_ID message with an equal or smaller Subscribe ID value is a 'Protocol Violation'.
MAX_SUBSCRIBE_ID
{
Type (i) = 0x15,
Length (i),
Subscribe ID (i),
}
-
Subscribe ID: The new Maximum Subscribe ID for the session. If a Subscribe ID equal or larger than this is received in any message, including SUBSCRIBE, the publisher MUST close the session with an error of 'Too Many Subscribes'. More on Subscribe ID in Section 6.4.