3.1.6.7.2.5 <queue name>

If the length of the "<queue name>" does not exceed 63 characters, it MUST be used unmodified. Otherwise, it is modified according to the following algorithm:

  1. Let QName be a Unicode string, initialized to be empty.

  2. The first 55 characters of the "<queue name>" MUST be copied to QName.

  3. A nine-character extension MUST be added to the end of QName. QName MUST be exactly 64 characters long after adding the extension. The extension consists of a Unicode dash ('–') followed by an eight-character hash string calculated from the values of the Unicode characters in the "<queue name>" as specified in section 2.2.5.

  4. The original "<queue name>" MUST be replaced with the value of QName.