No need to set message ID to 0 by default. Let exchange handle that if we don't specify.
This commit is contained in:
parent
fd7537c3f3
commit
2270f0ba95
|
|
@ -321,7 +321,6 @@ void QAmqpExchange::publish(const QByteArray &message, const QString &routingKey
|
|||
content.setProperty(QAmqpMessage::ContentType, mimeType);
|
||||
content.setProperty(QAmqpMessage::ContentEncoding, "utf-8");
|
||||
content.setProperty(QAmqpMessage::Headers, headers);
|
||||
content.setProperty(QAmqpMessage::MessageId, "0");
|
||||
|
||||
QAmqpMessage::PropertyHash::ConstIterator it;
|
||||
QAmqpMessage::PropertyHash::ConstIterator itEnd = properties.constEnd();
|
||||
|
|
|
|||
Loading…
Reference in New Issue