Commit Graph

338 Commits

Author SHA1 Message Date
JesseQu 2db9be9b92 查看整个队列的描写--POC 2025-07-31 17:17:40 +08:00
JesseQu 0300258b93 added into our own repository. 2025-07-28 14:41:55 +08:00
Sebastian Hensel f5b9d2e333
Merge pull request #84 from WollZebra/feature/support-qt6-and-drop-qt4
Feature/support qt6 and drop qt4
2023-08-21 16:57:55 +02:00
hensels d912bddfce refactor: a new line was missing 2023-05-08 12:15:54 +02:00
hensels 6cc6bbcdfa chore: update class interfaces to support Qt5 and Qt6 while dropping support for Qt4
all tests checked against RabbitMQ 3.11.13 with Erlang 25.3 with following kits:
Qt 5.6.3 32Bit MSVC2017
Qt 5.15.2 32Bit Clang 15.0.1
Qt 5.15.2 32,64Bit MSVC2019
Qt 5.15.2 32Bit MSVC2022
Qt 6.5.0 64Bit MinGW 11.2.0
Qt 6.5.0 64Bit MSVC2019
Qt 6.5.0 64Bit MSVC2022
2023-05-08 12:07:45 +02:00
Igor Sysoev b5c660a1ac Fix rejecting of message 2017-07-14 07:50:39 -04:00
Ernesto De Stefano ff81962201 Added emission of heartbeat signal. 2017-02-16 10:28:36 -05:00
Ernesto De Stefano f63b294e79 Added heartbeat signal 2017-02-16 10:28:36 -05:00
Ernesto De Stefano 737349ab40 waitForBytesWritten optionally
waitForBytesWritten is not execute when writeTimeout is less than -1.
2017-02-16 10:27:34 -05:00
Ernesto De Stefano a0bc160ea1 Update qamqpframe.cpp
I have a problem with method waitForBytesWritten.
Sometimes my application is locked when is called this method (timeout expired).
Although I try to modify writeTimeout (i.e. -1; 5 or 30), when timeout expires, rabbitMQ server disconnects me.

But if I try to delete it, it works!
My question is:
Why is this method necessary? What is its purpose?

Thank you!
2017-02-16 10:27:34 -05:00
Ernesto De Stefano d20aa2c89d Update .gitignore 2017-01-20 10:08:40 -05:00
Ernesto De Stefano 6d2a7da3a2 Create .gitignore 2017-01-20 10:08:40 -05:00
Denis Kormalev f6c320badb forceDisconnectFromHost renamed to abort 2017-01-12 09:44:51 -05:00
Denis Kormalev 2f52bf5a5f Reconnect fix.
- Adds forceDisconnectFromHost() method to QAmqpClient to immediately disconnect underlying socket;
- Fixes issue when one calls disconnectFromHost while reconnectTimer is alive;
- Properly disconnects underlying socket before another connectToHost call when socket is already connected.
2017-01-12 09:44:51 -05:00
Aleksey Nikolaev 1db89fd1fa The metadata from these moc-files are not used. Also this fixing some bug with qmake export to the VS2015 project 2017-01-12 08:14:45 -05:00
Hxcan Cai 8b86ed6e17 Fix bug: messageCount and consumerCount were not initialized 2016-12-13 07:14:42 -05:00
Hxcan Cai 65f34967eb Add API to query for the messageCount and consumerCount after the queue being declared 2016-12-13 07:14:42 -05:00
Sergey Platonov 175482412f Method reset() added to a QAmqpChannel class
Sometimes user needs to reset the channel state, for example in case of
attempt to declare an exisiting queue.
2016-12-12 08:52:27 -05:00
Matt Broadstone 21c03b2bab Merge pull request #54 from droidsyer/fixedTimeout
Added Fixed timeout and Git version.
2016-10-04 10:11:15 -04:00
De Stefano 8c3dc95dbd Rename getGitVersion() to gitVersion(). 2016-10-04 15:59:14 +02:00
De Stefano 1c205642d1 Fix git tag. 2016-10-03 23:15:50 +02:00
De Stefano 96f2a88020 Fixed git_tag. 2016-10-03 23:12:20 +02:00
De Stefano 275c5dce33 Added GIT_VERSION. 2016-10-03 22:44:49 +02:00
unknown a4d32efefb Added fixed reconnection timeout. 2016-10-03 21:31:46 +02:00
Matt Broadstone 6d73c4c578 Merge pull request #50 from TomVS/master
Fix queue declaration arguments
2016-09-22 09:28:12 -04:00
Thomas Vincent-Sweet 2270f0ba95 No need to set message ID to 0 by default. Let exchange handle that if we don't specify. 2016-06-24 12:57:26 +01:00
Thomas Vincent-Sweet fd7537c3f3 Fix queue declaration arguments 2016-06-22 11:16:17 +01:00
Matt Broadstone d3180c6545 test(timestamp): fix tests for timestamps as time_ts 2016-05-26 08:38:11 -04:00
Matt Broadstone db12b35490 fix(build): qt5 for 12.04 has moved PPAs 2016-05-26 08:26:55 -04:00
Matt Broadstone 3b2a853707 Merge pull request #46 from johnzhanghua/master
timestamp in AMQP-0-9-1 should be seconds other than milliseconds
2016-05-26 08:26:47 -04:00
Matt Broadstone 08b4012c4b Merge pull request #48 from aurelien35/AddHeadersGetter
Add message headers getter
2016-05-25 22:30:53 -04:00
Aurelien ALBERT 94375662a6 Simplified signature for "headers()" method 2016-05-23 15:52:03 +02:00
Aurelien ALBERT bffc945dca Add message headers getter 2016-05-19 09:07:23 +02:00
John Zhang 3dad5e7661 timestamp in AMQP-0-9-1 should be seconds since 1970-01-01 other than miliseconds 2016-04-29 09:13:54 +10:00
Matt Broadstone aa2b989438 chore(version): bump version to 0.5.0 2016-04-27 10:33:22 -04:00
Matt Broadstone 1088e6f6bf fix(LICENSE): change reference from QJsonRpc to QAMQP 2016-04-21 16:48:33 -04:00
Matt Broadstone 7d9f80331e fix(QAmqpChannel): needOpen was false if channel was defined
fixes #42
2016-03-28 12:27:35 -04:00
Matt Broadstone 79f5c4187c style(channels): fix some small indentation errors 2016-03-28 09:00:52 -04:00
Matt Broadstone c72e8543f6 fix(debug): missed a few closing parens in debug output 2016-03-28 08:52:51 -04:00
Matt Broadstone 3b4f6d7709 test(issue38): show another example of issue #38 working 2016-03-09 08:57:59 -05:00
Matt Broadstone 8109e5343c test(issue38): show how to avoid issue #38 2016-03-08 08:46:46 -05:00
Matt Broadstone 411a3a8e9e fix(build): remove unused variable in qamqpclient.cpp 2016-03-04 14:07:35 -05:00
Matt Broadstone f6c43d9196 refactor(debug): vastly improve debug messages for framing 2016-03-04 12:53:02 -05:00
Matt Broadstone e9af40515b Merge pull request #39 from droidsyer/patch-3
Update src.pro
2016-03-04 10:23:27 -05:00
Ernesto De Stefano ec734e3b34 Update qamqp.pri
Adapted to include qamqp library based on configuration build (release or debug).
2016-03-04 11:20:09 +01:00
Ernesto De Stefano d7a59f7ef0 Update src.pro
For build debug and release:
After you include qamqpInterface.pri,
you will link debug and release library depending on the current qmake build configuration.
2016-03-04 10:30:10 +01:00
Matt Broadstone 3ac5daaf33 Merge pull request #37 from juhk/master
QAmqpExchange: Clear unconfirmedDeliveryTags on _q_disconnect().
2016-03-01 09:12:43 -05:00
Juha Kokkonen 9cee142057 QAmqpExchange: Clear unconfirmedDeliveryTags on _q_disconnect(). 2016-03-01 15:20:38 +02:00
Matt Broadstone 5d85db70de Merge pull request #36 from droidsyer/patch-1
arguments and qamqpInterface.pri
2016-02-29 12:05:32 -05:00
Ernesto De Stefano 61ddeb0ad5 Merge pull request #1 from droidsyer/patch-2
Added qamqpInterface.pri
2016-02-29 17:29:12 +01:00