Skip to content

Releases: xtremekforever/swift-masstransit

Swift MassTransit Wrappers v0.3.0

13 Feb 13:59
501e079
Compare
Choose a tag to compare

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, and withRunningMassTransitConsumer 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

07 Feb 17:55
Compare
Choose a tag to compare

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

07 Feb 14:41
0d74607
Compare
Choose a tag to compare

Small release to fix some issues with the MassTransitConsumer.

  • Add use of .cancelOnGracefulShutdown() to MassTransitConsumer 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

04 Feb 18:06
Compare
Choose a tag to compare

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

21 Jan 17:22
Compare
Choose a tag to compare

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

14 Dec 09:02
Compare
Choose a tag to compare

An update the to library that adds a new functionality.

Breaking changes:

  • Changed the exchangeName parameter in the RequestContext.respond method to messageType, since no exchange needs to be defined here (it should already exist and be part of RequestContext.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

13 Nov 19:24
Compare
Choose a tag to compare

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.