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
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
Stuart Longland
f79e96fae8
QAmqpExchange tests: Wait for destroyed signal.
...
Maybe my laptop is too quick, but it seems the exchange hangs around a
little too long for this test to pass.
2015-04-14 09:10:07 +10:00
Stuart Longland
31f90a17a0
QAmqpChannelHash: Tweak channelDestroyed.
...
- DON'T rely on sender()
- DON'T expect to be able to cast the QObject to a QAmqpChannel and have
name() work.
This isn't as efficient as I'd like, but it doesn't crash either.
2015-04-13 08:28:09 +10:00
Stuart Longland
ae4f1b336e
QAmqpClient: Re-factor using QAmqpChannelHash.
2015-04-13 08:28:04 +10:00
Stuart Longland
beb89b30b8
QAmqpChannelHash: Container for storing channels.
2015-04-13 08:27:57 +10:00
Stuart Longland
673274345c
QAmqpClient: Fix 'does not have class type' error.
...
Something in the back of my mind had me thinking iterator.value was a
field not a function. No idea why. Fixed now.
2015-04-13 08:27:47 +10:00
Stuart Longland
6599fdbc63
QAmqpClient: Add garbage collection slot.
...
On 'destroyed', do a clean up of our exchanges and queues.
2015-04-13 08:27:41 +10:00
Stuart Longland
bca3f5f8bd
QAmqpClient: Fix attempt to assign const QString
...
How on earth did I expect that to work? Morning cup of tea hasn't
kicked in yet, of course I can't assign a const QString passed by
reference.
Fix egregious PEBKAC-caused compile error.
2015-04-13 08:27:31 +10:00