Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Description:
EMS server reports: "ERROR: Failed to create selector, Corrupt message“ when creating a message consumer with a selector.
Symptoms:
EMS server reported message: "ERROR: Failed to create selector, Corrupt message“ when creating a message consumer with a selector. The message consumer can still receive messages.
Cause:
The error message, "Failed to create selector, Corrupt message." is due to the selector "IN" array size reached an element limit on the EMS server side code. With EMS 8.2.1 and lower versions, the server enforces a limit of 32767 elements in the IN array while the EMS clients are not. An error to create a selector on the server when creating a consumer does not prevent the creation of the consumer. This introduces two defects:
- EMS-6295: A consumer create should fail if the server has an issue upon creating a selector.
- EMS-6299: The 32,767 server limit on literals in a selector string set needs to be enforced in the client as well.