User Guide > Troubleshooting > Error setting queue contents to the provided DJMessage
Was this helpful?
Error setting queue contents to the provided DJMessage
 
Error Code
4
Error Message
Error setting queue contents to the provided DJMessage. JMSWMQ2002: Failed to get a message from destination '<QueueName>'.
Description
This error is displayed for the IBM MQ Queue component when the CCSID of the Message present in the queue does not match with the value give while trying to GetMessage.
Cause/Solution
 
Cause: As both the encodings are different, the conversion may not necessarily succeed.
Solution 1: You can use UTF_8 CCSID to decode the message:
1. Go to GetMessage Action.
2. Set CCSID CCSID_UTF8.
3. Save the process and Run it.
Solution 2: Set same CCSID value with which message has been written:
1. Check the CCSID value of the written message from Queue Manager
2. Go to GetMessage Action.
3. Set CCSID same with which message is written in queue.
4. Save the process and Run it.
Related Information
JMS Error Code: JMSWMQ2002
 
Last modified date: 02/09/2024