Commit Graph

314 Commits

Author SHA1 Message Date
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
Ernesto De Stefano d9dcf07723 Create qamqpInterface.pri
With this .pri file, you can import this library by setting the variable QAMQP_HOME

You need to put include and lib files into same directory of qamqpInterface.pri.

include($${QAMQP_HOME}/qamqpInterface.pri)
2016-02-29 17:22:51 +01:00
laboratorio 20c9d69875 QAmqpTable arguments derives from channel private. 2016-02-04 16:31:10 +01:00
Ernesto De Stefano 9d567c4aff Update qamqpqueue.h 2016-02-04 14:21:45 +01:00
Ernesto De Stefano cbfa5d4771 Update qamqpqueue.cpp 2016-02-04 14:17:42 +01:00
Ernesto De Stefano cbc2db02e6 Update qamqpqueue_p.h 2016-02-04 14:17:13 +01:00
Ernesto De Stefano 8a86c1350a Update qamqpqueue_p.h 2016-02-04 11:05:28 +01:00
Ernesto De Stefano 39d4b5e086 Update qamqpqueue.h 2016-02-04 10:59:09 +01:00
Ernesto De Stefano b1cd8e48c3 Update qamqpqueue.cpp 2016-02-03 22:59:42 +01:00
Matt Broadstone f6777e66df refactor(channels): move resetInternalState to private impls 2015-11-20 08:07:21 -05:00
Matt Broadstone 3781006a1e fix(QAmqpChannelHash): add missing include 2015-11-19 17:50:05 -05:00
Matt Broadstone b746f45af5 test(helloworld): enable autoReconnect in test to show off feature 2015-11-19 17:46:39 -05:00
Matt Broadstone a7f9a3a837 chore(version): bump version to 0.4.0 2015-11-19 17:46:23 -05:00
Matt Broadstone 0c96cfca52 refactor(QAmqpChannel): reset channel state on disconnect
We now track channels in QAmqpChannelHash for use across reconnects
however, the internal state of these channels was not being reset
when the connection was reestablished. This provides a way to do
that for not only channels, but both of its subclasses
2015-11-19 17:43:31 -05:00
Matt Broadstone c025333204 fix(QAmqpClient): enable autoReconnect after forced disconnect 2015-11-19 17:09:56 -05:00
Matt Broadstone c113611b05 fix(QAmqpClient): simulate closeOk on forced disconnect 2015-11-19 17:03:55 -05:00
Matt Broadstone 73d80de53a Merge pull request #27 from vrtsystems/state-machine-client
Add storage of Queues and Exchanges to QAmqpClient.
2015-06-08 09:27:11 -04:00
Stuart Longland fd1b19b3b6 QAmqpClient: Substitute static_cast for qobject_cast 2015-05-02 21:10:22 +10:00
Stuart Longland 60f680a4ef QAmqpChannelHash: Substitute static_cast for qobject_cast 2015-05-02 21:10:08 +10:00
Stuart Longland e43224877f QAmqpChannelHash: Store empty/null strings as null strings. 2015-05-02 21:02:50 +10:00
Stuart Longland c171b5c337 QAmqpChannelHash: Add contains function 2015-05-02 21:01:07 +10:00
Stuart Longland 3e5cf05256 QAmqpChannelHash: Coding style fixes. 2015-05-02 20:52:27 +10:00
Stuart Longland cd655d3f1d QAmqpExchange redeclaration test: Re-open a closed channel.
If the server closes the channel on us, re-open it before removing the
exchange.
2015-05-02 20:44:17 +10:00
Stuart Longland 2b707d53de QAmqpChannel: Emit closed signal when server closes.
When we initiate a Close, we get a CloseOk in response and on receipt of
the CloseOk, we mark the channel as closed and emit a signal to notify
everyone else.

Great.  Now what happens when the server closes the channel?  We emit a
CloseOk, then… nothing.  We do nothing.  This fixes this problem, moving
the notification/marking logic to a new function and calling that on
both Close (sent from server) and CloseOk.
2015-05-02 20:41:19 +10:00
Stuart Longland 568dc6770a QAmqpQueue Tests: Wait for destroyed signal.
Same issue, maybe with the state machine the QAmqpQueue takes a little
longer to disappear.
2015-04-14 09:10:25 +10:00