Commit Graph

12 Commits

Author SHA1 Message Date
Matt Broadstone b746f45af5 test(helloworld): enable autoReconnect in test to show off feature 2015-11-19 17:46:39 -05:00
Matt Broadstone 07ad9d8e4f implement rpc example
This is a bit of a contrived example, since I explcitly have left
out a synchronous API for QAMQP, however, it still shows how one can
use the CorrelationID and ReplyTo properties to implement RPC behavior
2015-02-15 16:38:12 -05:00
Matt Broadstone 10ab1423c2 remove QAMQP namespace
This is a very small library, so there is no real pressing need for
a library namespace. Further, the namespacing actually makes it rather
difficult to work with in some cases. Opting for a more "Qt" style
class naming scheme, using the QAmqp class prefix
2014-09-15 13:26:48 -04:00
Matt Broadstone 6a3d355de2 rename amqp_ files to qamqp
amqp_<filename> is used in at least two other C/C++ projects related
to amqp, so this commit changes all our source to use a qamqp header.
This avoids potential clashes, and is more in line with Qt style
2014-08-26 15:05:39 -04:00
Matt Broadstone 0ccb3035cd move QAMQP::Frame to private API
QAMQP::Frame used to be public API mostly for MessageProperties. There
is no longer a need to keep this API public, as it should all be wrapped
with the cleaner Message/Queue/Exchange/Client API set
2014-08-26 09:57:08 -04:00
Matt Broadstone c43c2d6788 ensure consuming only occurs once per queue
a Queue can act as a consumer in QAMQP, but previously we did no checks
to ensure that a Queue sent a request to consume only once. This commit
adds API for checking and ensuring that this is the case. Also, I reverted
the changes to allow multiple consumer tags because this was incorrect.
Also included is a new signal "consuming" to notify when consumption occurs,
and auto tests have been updated to use this, as well as verify that it
can only occur once per-consumer
2014-06-24 10:30:05 -04:00
Matt Broadstone 81f9437495 changed some variable names for clarity and readability 2014-06-19 11:04:20 -04:00
Matt Broadstone 27d8329065 added topics tutorial 2014-06-19 11:04:04 -04:00
Matt Broadstone b9a85b3051 added the routing tutorial 2014-06-19 10:50:40 -04:00
Matt Broadstone 64c371ebb0 implemented pubsub tutorial 2014-06-18 14:21:42 -04:00
Matt Broadstone 7ff7719518 add the workqueues tutorial
still incomplete because qos is temporarily disabled
2014-06-18 11:06:49 -04:00
Matt Broadstone f5763ac9bb begin to add rabbitmq tutorials
most of these are included in the manual amqp test already, but I wanted
to break them out so users could have a nice example of how to do these
in standalone form, like the python tutorials. Helloworld (tutorial 1) is
also included fully implemented in this commit
2014-06-18 10:31:28 -04:00