search cancel

Encoding problem with Route via MQ Native assertion

book

Article ID: 200253

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

We run into an encoding problem in the response messages of the Route via MQ Native assertion. The moment we send a message via this assertion to a backend, and respond to it in UTF-8, the response gets deformed. S

The following CWP's are set:
io.mqConversionCCSID: 1208
io.mqConvertMessageApplicationDataFormat: true
io.mqForceReturnPropertiesInMQRFH2Header: false
io.mqMessageMaxBytes: 31457280
io.mqRoutingMaxRetries: 1
io.mqRoutingSetAllContext: false

How can we ensure that MQ response messages in the UTF-8 format are correctly read by the API Gateway?

Environment

Release : 9.4

Component : API GATEWAY

Resolution

Current version is unable to handle diacrits in the  reply message using Route via MQ Native assertion

Despite The following CWP's are set:

io.mqConversionCCSID: 1208
io.mqConvertMessageApplicationDataFormat: true
io.mqForceReturnPropertiesInMQRFH2Header: false
io.mqMessageMaxBytes: 31457280
io.mqRoutingMaxRetries: 1
io.mqRoutingSetAllContext: false

A normal MQ message works fine with these settings, the reply message gets corrupted and does not take into account the
io.mqConversionCCSID: 1208

Solved with hotfix

ssg-9.4.00-10671_hotfix_DE467988.noarch.rpm and GW 10 CR2