Rabbit MQ - Exchange type Header

Hi Everyone,
I am trying to capture header values from RabbitMQ where exchange type is header but it’s not coming properly. From the output it’s coming as base64 encoded data but when I am decoding it’s showing data are not encoded properly. Is anyone resolve the same issue?

[

{

“headers”:{

myTest1”:{

“ByteArrayLongString”:{

“bytes”:

“Base64 encoded data”

“stream”:{

“DataInputStream”:{

}

}

}

“delivery-mode”:

1

“user-id”:

null

“correlation-id”:

null

“deliveryTag”:

1

“message-id”:

null

“expiration”:

null

“content-type”:

“application/text”

“priority”:

null

“redelivered”:

true

“content”:

“Base64 encoded data”

}

}

}

]

image