Problem parsing payloads RA.JMS RECEIVER job.
search cancel

Problem parsing payloads RA.JMS RECEIVER job.

book

Article ID: 192236

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

In a RA.JMS Receiver job a JSON payload is received but the parsing with Jsonpath is not working.

The variable that is using in the Postscript remains empty while the Jsonpath tests correctly.

Environment

Release : 2.x

Component : RA JMS

Cause

In the Job Report we find line like this:

2020-04-29 10:05:35             pool-1-thread-4: Receiver: message: SolBytesMessage={ JMSCorrelationID:0008467681,...
2020-04-29 10:05:35             Received: 1 ID:10.117.68.12181221719ce8c5280:4696 SolBytesMessage

This indicate that the message type is BytesMessage instead of TextMessage.

Resolution

The payload received by the Receiver job needs to be plain text (TextMessage) for the parsing to work.