Commit f4bcc49f authored by Sonja Happ's avatar Sonja Happ
Browse files

AMQP: next try to make access to headers work

parent 9e235235
......@@ -262,7 +262,7 @@ func processMessage(message amqp.Delivery) error {
return fmt.Errorf("AMQP: Could not unmarshal message to JSON: %v err: %v", string(message.Body), err)
}
payload.Status.UUID = new(string)
//payload.Status.UUID = new(string)
headers := amqp.Table(message.Headers)
*payload.Status.UUID = fmt.Sprintf("%v", headers["uuid"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment