Closed KonstantinZvyagin closed 7 years ago
@KonstantinZvyagin I think you're looking for something like this: https://github.com/mbroadst/qamqp/issues/30#issuecomment-179233014
You have to create a QAmqpTable table, set the value of x-expires
and then pass that to the queue's declare
method.
Could you please post here a small example ? I didn't get how to use QAmqpTable
I posted a link to the example:
QAmqpTable optionTable;
optionTable.insert("x-max-length", 1);
queue_->declare(option, optionTable);
I get it , it's QVariantHash ! sorry for may stupid question ))
no problem :)
I have a small improvemet for you code. Here is You lib with my chages. It's about new error HeartbeatMissed. Could you merge it to you code?
2016-09-22 16:03 GMT+03:00 Matt Broadstone notifications@github.com:
@KonstantinZvyagin https://github.com/KonstantinZvyagin I think you're looking for something like this: #30 (comment) https://github.com/mbroadst/qamqp/issues/30#issuecomment-179233014
You have to create a QAmqpTable table, set the value of x-expires and then pass that to the queue's declare method.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mbroadst/qamqp/issues/52#issuecomment-248897270, or mute the thread https://github.com/notifications/unsubscribe-auth/AMdQgh2_20Gk4jqe_vSWvDYfZWMMKUCZks5qsnyPgaJpZM4KD2uD .
С уважением Звягин К.Н.
It was old revision of you code (
2016-09-22 16:24 GMT+03:00 Константин Звягин 4250046@gmail.com:
I have a small improvemet for you code. Here is You lib with my chages. It's about new error HeartbeatMissed. Could you merge it to you code?
2016-09-22 16:03 GMT+03:00 Matt Broadstone notifications@github.com:
@KonstantinZvyagin https://github.com/KonstantinZvyagin I think you're looking for something like this: #30 (comment) https://github.com/mbroadst/qamqp/issues/30#issuecomment-179233014
You have to create a QAmqpTable table, set the value of x-expires and then pass that to the queue's declare method.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mbroadst/qamqp/issues/52#issuecomment-248897270, or mute the thread https://github.com/notifications/unsubscribe-auth/AMdQgh2_20Gk4jqe_vSWvDYfZWMMKUCZks5qsnyPgaJpZM4KD2uD .
С уважением Звягин К.Н.
С уважением Звягин К.Н.
@KonstantinZvyagin if you have an improvement please fork the project, and submit a pull request
Ok !
2016-09-22 16:28 GMT+03:00 Matt Broadstone notifications@github.com:
@KonstantinZvyagin https://github.com/KonstantinZvyagin if you have an improvement please fork the project, and submit a pull request
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mbroadst/qamqp/issues/52#issuecomment-248903294, or mute the thread https://github.com/notifications/unsubscribe-auth/AMdQghouZKB1NwDy9IZvtyzKY__dxad3ks5qsoKNgaJpZM4KD2uD .
С уважением Звягин К.Н.
How can I set "x-expires" argument with timeout to queue?