No need to set message ID to 0 by default. Let exchange handle that if we don't specify.

This commit is contained in:
Thomas Vincent-Sweet 2016-06-24 12:57:26 +01:00
parent fd7537c3f3
commit 2270f0ba95
1 changed files with 0 additions and 1 deletions

View File

@ -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();