summaryrefslogtreecommitdiff
path: root/examples/amqp_producer.c
Commit message (Collapse)AuthorAgeFilesLines
* Make connection the socket object ownerAlan Antonuk2013-07-031-2/+1
| | | | | | | | Improve the socket interface by making the amqp_connection_state_t object the amqp_socket_t owner, and tie its lifetime to the connection's lifetime. This prevents a class of silly errors where the socket object isn't freed, or the socket object is assigned to two different connection objects
* Start addressing review commentsMichael Steinert2013-04-091-1/+1
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Convert amqp:// examples to use new socket APIMichael Steinert2013-04-091-5/+14
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Updating license yearAlan Antonuk2013-04-081-0/+3
|
* Formatted source code with astyle utiltyAlan Antonuk2013-04-081-14/+15
|
* Adding vim modelines to help with source formattingAlan Antonuk2013-04-051-0/+1
|
* Fix compiler warnings (checked clang & gcc)Michael Steinert2012-05-171-1/+1
| | | | Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
* Automated relicensing of source files MPL/GPL -> MITMarek Majkowski2012-04-121-26/+20
|
* Update copyright 2012Emile Joubert2012-02-021-1/+1
|
* Update copyright noticesDavid Wragg2011-03-011-19/+7
| | | | And generally bring debian/copyright up to date.
* Make the examples compile and work under WindowsDavid Wragg2010-10-211-10/+13
|
* Fold amqp_end_connection socket closing into amqp_destroy_connectionDavid Wragg2010-07-261-1/+1
|
* Remove uses of the GNU-specific %ll printf format modifierDavid Wragg2010-05-301-4/+4
| | | | | The MS C runtime doesn't support it. Use the C99 inttypes.h macros instead, which is supplied by MinGW.
* Add amqp_end_connection, which closes the socket and destroys the connectionDavid Wragg2010-05-301-2/+1
|
* Update licensing to dual MPL/GPLTony Garnock-Jones2010-02-211-0/+50
|
* Remove amqp_rpc_reply global variable, making it instead state-localTony Garnock-Jones2010-02-181-1/+1
| | | | | | and accessible only through amqp_get_rpc_reply(). Add a better comment on amqp_get_rpc_reply() to be a little clearer about when it's inappropriate to use it.
* Extend API to permit heartbeat configuration.Tony Garnock-Jones2009-08-201-1/+1
|
* Support for multiple channels.Tony Garnock-Jones2009-05-121-2/+5
| | | | | | | - amqp_login() no longer does amqp_channel_open() for you - amqp_login() takes a channel_max argument - amqp_login() actually calls amqp_tune_connection() now - amqp_channel_close() and amqp_basic_publish() now take a channel number
* Use amq.direct instead of the default exchangeTony Garnock-Jones2009-05-071-1/+1
|
* Simple producer/consumer examplesTony Garnock-Jones2009-04-301-0/+104