This commit is contained in:
Adam Majer 2024-08-14 18:16:55 +02:00
parent e9cb3de124
commit 98b4ca0918

View File

@ -88,6 +88,9 @@ func ConnectToExchangeForPublish(host, username, password string) {
ContentType: "application/json",
AppId: RabbitForwarderPath,
Body: []byte(msg.Body),
Timestamp: time.Now(),
DeliveryMode: 2,
ContentEncoding: "application/json",
})
if err != nil {