From ea57723a3c8e373fab7a3dd49601a0ec4a8afb0d Mon Sep 17 00:00:00 2001 From: Andy Sotheran Date: Wed, 23 Sep 2020 23:29:37 +0100 Subject: [PATCH] [23.09.2020] sending testing --- src/utils/activemqConnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/activemqConnect.py b/src/utils/activemqConnect.py index da87a91..ddbf76a 100644 --- a/src/utils/activemqConnect.py +++ b/src/utils/activemqConnect.py @@ -22,7 +22,7 @@ def activeMQSender(message, logger): con = stomp.Connection([(addr, port)]) con.connect( mqUser, mqPass, wait=True) - con.send("PricingSave.dlq", message, headers={"Content-Type":"application/text"}) + con.send("PricingSave.dlq", message, headers={"Content-Type":"application/json"}) con.disconnect()