I need to send message with headers through Artemis Queue. How could do it.
Headers:--header 'PAYMENT_RE: PAGO-X' \
--header 'Content-Type: application/json' \
--header 'OPERATION_ID: 72ab0c45-7871-4fdc-9cb7-e8644a87372d' \
--header 'ORDER_ID: 242221347' \
11:41
TRACING_HEADERS=[{\"uber-trace-id\":\"1429c44436cbaaa7%3A1dca2e791ce1724c%3A39ca9cdcbc9f1fa6%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3Ae97e978f0d2e92e9%3A1dca2e791ce1724c%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3A3f839f45ce8cf16d%3Ae97e978f0d2e92e9%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3A7cc993c33466cb90%3A3f839f45ce8cf16d%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3A4b4368e0660b8363%3A7cc993c33466cb90%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3Abfd4a636acb617cb%3A4b4368e0660b8363%3A1\"},{\"uber-trace-id\":\"1429c44436cbaaa7%3A888811c524eba2fe%3Abfd4a636acb617cb%3A1\"}]
uber-trace-id=1098c66636cbaaa7%4ec2cb277101430ca2f88bbe9f56a3b8%3Abfd1a636acb618cb%3A1'
Body:
{
"correlationId":"",
"refundId":"",
"captureTraceabilityId":"",
"captureCode":"",
"networkId":154644,
"amount":{
"currency":"COP",
"total":10000
},
"route":{
"id":"",
"type":"DEFAULT"
},
"paymentInstrument":{
},
"partialOperation":false,
"finalPartialOperation":false
}
Right now I only can send the body, but I don't know how send the headers:
But I don't know how can be the structure to send the headers.