Closed IgorSysoev73 closed 7 years ago
Hi, I have a problem with message rejecting. The following method void QAmqpQueue::reject(const QAmqpMessage &message, bool requeue) doesn't work due to calling inside it wrong method. Current source code is:
void QAmqpQueue::reject(const QAmqpMessage &message, bool requeue)
void QAmqpQueue::reject(const QAmqpMessage &message, bool requeue) { ack(message.deliveryTag(), requeue); }
Have to be:
void QAmqpQueue::reject(const QAmqpMessage &message, bool requeue) { reject(message.deliveryTag(), requeue); }
Method void QAmqpQueue::reject(qlonglong deliveryTag, bool requeue) nevertheless works fine.
void QAmqpQueue::reject(qlonglong deliveryTag, bool requeue)
Thanks, Igor
@IgorSysoyev thanks for pointing this out, contributions are most welcome!
Fixed.
Hi, I have a problem with message rejecting. The following method
void QAmqpQueue::reject(const QAmqpMessage &message, bool requeue)
doesn't work due to calling inside it wrong method. Current source code is:Have to be:
Method
void QAmqpQueue::reject(qlonglong deliveryTag, bool requeue)
nevertheless works fine.Thanks, Igor