Releases: xtremekforever/swift-masstransit
Swift MassTransit Wrappers v0.3.0
Minor version release that contains slightly substantial changes and fixes.
- Updated the
swift-rabbitmq
library to the v0.3.x series which contain some minor breaking changes for clarity of configuration and new helper methods that are now used in this library. - Fixes #12 by adding retry functionality to the binding of "message-type consumers" when the main queue consumer becomes ready.
- Adds new
withMassTransitConnection
,withRetryingMassTransitConnection
, andwithRunningMassTransitConsumer
helpers that can be used by applications or libraries for functionality or testing. - Adds unit tests for almost all
MassTransitConsumer
functionality, which goes towards #13.
Swift MassTransit Wrappers v0.2.4
Tiny typo fix- in the previous release, the retry mechanism for the MassTransitConsumer
for binding a message type exchange was incorrectly reading a boolean flag and thus not functioning as expected.
Swift MassTransit Wrappers v0.2.3
Small release to fix some issues with the MassTransitConsumer
.
- Add use of
.cancelOnGracefulShutdown()
toMassTransitConsumer
main consume stream so that the service can shutdown immediately on graceful shutdown. - Wait for connection and consumer to be ready before binding exchange for custom message type, add better retry to not fail right away if the broker is not ready with exchanges yet.
Swift MassTransit Wrappers v0.2.2
Small update that improves log level of messages that are published and consumed. We use .trace
level whenever we are logging the message that is being published or that was consumed.
Swift MassTransit Wrappers v0.2.1
Small update to add .sortedKeys
to the outputting formatting of JSONEncoder()
, which is used to encode MassTransit messages. This prevents messages from being sent with inconsistent ordering, making the reading of messages easier on the broker or in traces.
Swift MassTransit Wrappers v0.2.0
An update the to library that adds a new functionality.
Breaking changes:
- Changed the
exchangeName
parameter in theRequestContext.respond
method tomessageType
, since no exchange needs to be defined here (it should already exist and be part ofRequestContext.responseAddress
).
New features/improvements:
- Added a
MassTransitConsumer
class that allows consuming multiple message types from a single RabbitMq consumer. - Added additional configuration to the send, publish, consume, consumeWithContext, and request functions for full configurability of the exchange, queue, and more.
Swift MassTransit Wrappers v0.1.0
This is a small release of some stable code that works, although it is very incomplete as per full compatibility with the C# MassTransit library.