Created 06-05-2023 07:18 AM
Hello,
I'm trying to read messages from a IBM MQ. for that I have set up a JMSConnectionFactoryProvider Service, and configured a ConsumeJMS proccesor.
The JMSConnectionFactoryProvider is connecting to the IBM Queue successfully, and even the ConsumeJMS outputs a file from the queue when I run it, but the file's content is corrupted. it is suppose to be readable, but it comes out as gibbirish.
I noticed that the output flow file has 2 interesting header properties:
JMS_IBM_Character_Set: IBM424
JMS_IBM_Encoding: 785
Maybe it has something to do with the corrupted output? I tried to specify IBM424 in the 'Chracter Set' property on ConsumeJMS proccessor, but it had no effect.
Thanks a lot!
Created 06-05-2023 02:22 PM
@Motimot Welcome to the Cloudera Community!
To help you get the best possible solution, I have tagged our NiFi experts @cotopaul and @steven-matison who may be able to assist you further.
Please keep us updated on your post, and we hope you find a satisfactory solution to your query.
Regards,
Diana Torres,Created 06-06-2023 11:33 AM
Check with your IBM documentation as this is not standard character sets that non-mainframe platforms deal with. You need this converted to UTF-8 or other modern formats.
JMS_IBM_Character_Set: IBM424
JMS_IBM_Encoding: 785
Check with IBM support.
If you can convert to Unicode before extracting
https://www.ibm.com/docs/en/ibm-mq/7.5?topic=conversion-jms-client-message-encoding
You may need another driver
https://www.ibm.com/support/pages/apar/IT18078
Created 06-12-2023 05:06 PM
@Motimot Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
Regards,
Diana Torres,