My requirement is to read byte array format in CA dev test and reply back the success message.In the below message i want to read only json format payload,is their any way to read only json format
My byte array file is in below format
Exchange NA-AAA.DCS.TOPIC
Routing Key CA.AAA.ACCOUNT-REGISTRATIONVERIFICATION
Redelivered
Properties
timestamp: 1526491312
message_id: 9f9b36f0-592d-11e8-94e7-12425a5fee69
priority: 0
delivery_mode: 2
headers:
MULE_SESSION: rO0ABXNyACNvcmcubXVsZS5zZXNzaW9uLkRlZmF1bHRNdWxlU2Vzc2lvbi7rdtEW7GGKAwAFWgAFdmFsaWRMAA1mbG93Q29uc3RydWN0dAAmTG9yZy9tdWxlL2FwaS9jb25zdHJ1Y3QvRmxvd0NvbnN0cnVjdDtMAAJpZHQAEkxqYXZhL2xhbmcvU3RyaW5nO0wA
mcd-transactiontype: CA.AAA.ACCOUNT-REGISTRATIONVERIFICATION
mcd-marketid: AA
MULE_ENDPOINT: amqps://NA-AAA.DCS.TOPIC
mcd-sourceapp: WEB
MULE_ROOT_MESSAGE_ID: 9f9b36f0-592d-11e8-94e7-12425a5fee69
mcd-apiuid: 644e1dd7-2a7f-18fb-b8ed-ed78c3f92c2b
MULE_ENCODING: UTF-8
content_encoding: UTF-8
content_type: application/json
Payload :
{
"dcsId": "111240AZZZZ001535",
"marketCode": "CA",
"languageCode": "en",
"profile": {
"base": {
"username": "***@mailinator.com",
"firstName": "test",
"lastName": "gma"
}