.
This commit is contained in:
@@ -88,6 +88,9 @@ func ConnectToExchangeForPublish(host, username, password string) {
|
|||||||
ContentType: "application/json",
|
ContentType: "application/json",
|
||||||
AppId: RabbitForwarderPath,
|
AppId: RabbitForwarderPath,
|
||||||
Body: []byte(msg.Body),
|
Body: []byte(msg.Body),
|
||||||
|
Timestamp: time.Now(),
|
||||||
|
DeliveryMode: 2,
|
||||||
|
ContentEncoding: "application/json",
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user