Commit Graph

786 Commits

Author SHA1 Message Date
Emiel Bruijntjes b7e9827e0c Renamed DeferredConfirmedPublish to DeferredPublish 2020-10-19 08:59:13 +02:00
Emiel Bruijntjes 31f2d78778 Breaking change: the channel.publish() method no longer returns a DeferredPublisher-object, because it was not logical that you had to reinstall the callbacks for bounce-methods after each individual publish() call, not was it logical that the callbacks were not always logically linked to the publish() operation that failed (they were always sent to the handler of the most recent publish() instead of to the handler of the failed publish()). At the same time we added a channel.recall() method that can be used to notify the library that user-space is prepared to recall/take-back/accept bounced messages 2020-10-19 08:52:50 +02:00
Michael van der Werve a7f2991b35 fix merge conflict 2020-10-15 10:27:01 +02:00
Michael van der Werve 6b9fc48923 update travisfile, newer compilers and newer build OS 2020-10-15 10:26:07 +02:00
Michael van der Werve 73d74fe37e
Update the test container to 20.04 2020-10-15 10:13:28 +02:00
Michael van der Werve ad428fa629 fix the remnant 'waiting' on the channel after error 2020-10-15 10:07:24 +02:00
Michael van der Werve ed62771667 fix nullptr_t compile error 2020-10-15 09:54:50 +02:00
Michael van der Werve 61f4cf244b fix voidfield issue 2020-10-15 09:41:59 +02:00
Michael van der Werve 5af76d874e empty queue on error 2020-10-15 09:35:27 +02:00
Emiel Bruijntjes 2e49fd1220
Merge pull request #345 from tarhan/master
Added Void field type
2020-10-14 21:02:12 +02:00
Rafal Goslawski b66de2944a
Bump version to 4.3.3 2020-10-14 13:13:45 +02:00
Rafal Goslawski f1705fb7b3
Bump version to 4.3.3 2020-10-14 13:13:24 +02:00
Michael van der Werve b368f9e635 bugfix; base handler was no longer (always) properly called 2020-10-14 11:21:02 +02:00
Emiel Bruijntjes 8f85ad7818
Merge pull request #371 from BratSinot/boost_asio_no_deprecated
Switch from deprecated io_service to io_context.
2020-10-14 09:38:16 +02:00
BratSinot 41019cb943 boost::placeholders in global namespace is deprecated. 2020-10-14 10:28:25 +03:00
BratSinot 93255e2de6 Switch from deprecated io_service to io_context. 2020-10-12 15:38:57 +03:00
Emiel Bruijntjes eb732aa162
Merge pull request #370 from CopernicaMarketingSoftware/onerror-throttle
onError and onLost for Throttle and Confirmed.
2020-10-12 13:23:41 +02:00
Michael van der Werve c58cb6748d onError handler can be set on throttle, and onError & onLost can also be set on messages sent via confirmed. 2020-10-12 12:02:04 +02:00
Emiel Bruijntjes d542ba8e44
Merge pull request #368 from CopernicaMarketingSoftware/throttle-close
Allow to close the wrapped Throttle / Confirmed class.
2020-10-07 16:18:14 +02:00
Michael van der Werve 0dc624a3e6 {auto} if there are no open messages, close channel directly 2020-10-07 16:12:15 +02:00
Michael van der Werve e227d1ed3a {auto} confirmed channel can now be closed correctly 2020-10-07 16:08:26 +02:00
Rafal Goslawski 5eaa307b33
Bump version to 4.3.0 2020-10-07 13:45:54 +02:00
Rafal Goslawski 9b5576e4cb
Bump version to 4.3.0 2020-10-07 13:45:34 +02:00
Emiel Bruijntjes 5fd9c7331b
Merge pull request #367 from CopernicaMarketingSoftware/confirmed-wrapper
Implementation of the confirmed channel wrapper similar to the throttle.
2020-10-07 13:25:00 +02:00
Michael van der Werve 0b9f4e4af5 {auto} initial implementation of the confirmed wrapper 2020-10-07 11:49:38 +02:00
Michael van der Werve f10e861532
{auto} renamed the throttledchannel to AMQP::Throttle, since it is only a wrapper and not strictly a channel (#366) 2020-10-07 10:04:05 +02:00
Emiel Bruijntjes e4e9358c10
Merge pull request #365 from CopernicaMarketingSoftware/throttled-channel
Initial implementation of a throttled channel wrapper using publisher confirms.
2020-10-07 09:50:47 +02:00
Michael van der Werve 94bf5fe74b initial implementation 2020-10-06 15:14:42 +02:00
RafalGoslawski 527ec5967b Merge branch 'master' of https://github.com/CopernicaMarketingSoftware/AMQP-CPP 2020-10-05 15:46:22 +02:00
Emiel Bruijntjes 0e876055ec
Merge pull request #363 from CopernicaMarketingSoftware/icase-address-options
Case-insensitive comparison in address options.
2020-10-05 15:46:10 +02:00
RafalGoslawski 42aec54333 Change windows line endings to unix ones and fix whitespace (spaces not tabs). 2020-10-05 15:44:33 +02:00
Michael van der Werve 05059ec372 case insensitive comparisons 2020-10-05 15:43:36 +02:00
Rafal Goslawski f786d141cd
Bump version to 4.2.1 2020-10-05 15:16:28 +02:00
Rafal Goslawski b8eead977b
Bump version to 4.2.1
and remove symlink arguments incompatible with older versions of ln
2020-10-05 14:59:15 +02:00
Emiel Bruijntjes 668bf8229c
Merge pull request #355 from CopernicaMarketingSoftware/connect-timeout
Implement connectTimeout option on the TcpConnection initial resolve
2020-10-05 14:30:51 +02:00
Michael van der Werve 103fa130f7 {auto} implement timeout on initial connection instead of being subjected to kernel 2020-09-29 13:51:54 +02:00
Emiel Bruijntjes 0686286b9e
Merge pull request #353 from CopernicaMarketingSoftware/address-params
Address optional parameters
2020-09-29 13:16:52 +02:00
Michael van der Werve 66faa8a925 add const char * option and allow parameters to address without vhost 2020-09-29 12:04:09 +02:00
Emiel Bruijntjes b28dde8fbf
Merge pull request #354 from CopernicaMarketingSoftware/ondetached-missed
make sure onLost and onDetached are properly called on immediate close
2020-09-29 08:59:14 +02:00
Michael van der Werve 2496dbbd4e make sure onLost and onDetached are always called 2020-09-28 16:37:12 +02:00
Michael van der Werve 18d4a2cd56 {auto} parameters in the address 2020-09-28 15:48:45 +02:00
Bas van Berckel 0d42234a3d convert dos line endings 2020-09-24 12:30:04 +02:00
Bas van Berckel bcb1ba1361 exclude addresses.h from include file 2020-09-24 12:24:36 +02:00
Rafal Goslawski 7d85352432
Bump version to 4.2.0 2020-09-23 18:55:42 +02:00
Rafal Goslawski 46bd4634b3
Bump version to 4.2.0 2020-09-23 18:55:23 +02:00
Bas van Berckel 723470d6d6 add string/cstring constructors to addresses.h; add addresses.h to include file 2020-09-23 17:09:27 +02:00
Emiel Bruijntjes 69026c31a3 fixed crash because the wrong size was passed 2020-08-18 12:33:38 +02:00
Emiel Bruijntjes 96a6fa9a5c ability to store and retrieve envelopes 2020-08-17 15:16:24 +02:00
Emiel Bruijntjes 5d95ba824f moved the ReceivedFrame class to the src-directory, as it is of no use for userspace applications 2020-08-14 12:24:40 +02:00
Emiel Bruijntjes a779ee7c14 Merge branch 'master' of github.com:CopernicaMarketingSoftware/AMQP-CPP 2020-08-14 12:21:12 +02:00