Skip to content

Releases: Particular/NServiceBus.AwsLambda.Sqs

2.0.0

16 Apr 21:06
9b7fb66
Compare
Choose a tag to compare

NServiceBus.AwsLambda.SQS 2.0.0 is part of NServiceBus 9. Check out the NServiceBus 8 to 9 upgrade guide for details on how to upgrade.

Improvement

  • #292 Prepare repo for .NET 8

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.11
Scan Date: Tue, 16 Apr 2024 21:07:46 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8691017
Engine version: 0.103.11
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.70 MB
Data read: 0.18 MB (ratio 3.91:1)
Time: 13.792 sec (0 m 13 s)
Start Date: 2024:04:16 21:07:31
End Date:   2024:04:16 21:07:45

1.1.1

17 Oct 10:39
4d26070
Compare
Choose a tag to compare

As part of this release we had 12 commits which resulted in 3 issues being closed.

Bugs

  • #311 MessageContext's ReceiveAddress property is incorrect
  • #310 Error messages have incorrect NServiceBus.FailedQueue header
  • #45 Queue Prefix setting is not being considered in the AwsLambdaSQSEndpoint

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.9
Scan Date: Tue, 17 Oct 2023 10:40:23 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8675551
Engine version: 0.103.9
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.88 MB
Data read: 0.24 MB (ratio 3.70:1)
Time: 21.895 sec (0 m 21 s)
Start Date: 2023:10:17 10:39:56
End Date:   2023:10:17 10:40:17

1.0.1

17 Oct 10:11
67e75f1
Compare
Choose a tag to compare

As part of this release we had 50 commits which resulted in 2 issues being closed.

Bugs

  • #319 Error messages have incorrect NServiceBus.FailedQueue header
  • #313 Queue Prefix setting is not being considered in the AwsLambdaSQSEndpoint

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.9
Scan Date: Tue, 17 Oct 2023 10:13:16 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8675551
Engine version: 0.103.9
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.72 MB
Data read: 0.20 MB (ratio 3.68:1)
Time: 23.085 sec (0 m 23 s)
Start Date: 2023:10:17 10:12:47
End Date:   2023:10:17 10:13:10

1.1.0

21 Sep 04:51
ec5ae99
Compare
Choose a tag to compare

As part of this release we had 42 commits which resulted in 2 issues being closed.

Feature

  • #266 Support SendOnly configurations

Improvement

  • #253 Prevent the use of NSB configuration APIs aren't applicable to serverless environments

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.9
Scan Date: Thu, 21 Sep 2023 04:53:17 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8672817
Engine version: 0.103.9
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.87 MB
Data read: 0.23 MB (ratio 3.70:1)
Time: 27.369 sec (0 m 27 s)
Start Date: 2023:09:21 04:52:45
End Date:   2023:09:21 04:53:12

1.0.0

09 May 08:07
417eaf1
Compare
Choose a tag to compare

As part of this release we had 253 commits which resulted in 3 issues being closed.

Features

  • #264 NServiceBus.AwsLambda.Sqs generally available
  • #246 Upgrade to NServiceBus.AmazonSQS 6.1.1

Improvement

  • #148 Replace SimpleJson with System.Text.Json

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.8/26901/Tue May  9 07:24:37 2023
Scan Date: Tue, 09 May 2023 08:09:17 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8666189
Engine version: 0.103.8
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.70 MB
Data read: 0.19 MB (ratio 3.73:1)
Time: 22.789 sec (0 m 22 s)
Start Date: 2023:05:09 08:08:45
End Date:   2023:05:09 08:09:07

0.6.0

27 Apr 19:12
Compare
Choose a tag to compare

As part of this release we had 252 commits which resulted in 1 issue being closed.

Bug

  • #260 Message attributes may not be preserved when messages are moved to the error queue

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.8/26889/Thu Apr 27 07:25:48 2023
Scan Date: Thu, 27 Apr 2023 19:13:48 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8663783
Engine version: 0.103.8
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.89 MB
Data read: 0.17 MB (ratio 5.16:1)
Time: 21.628 sec (0 m 21 s)
Start Date: 2023:04:27 19:13:24
End Date:   2023:04:27 19:13:45

0.5.1

13 Feb 06:54
b21a61d
Compare
Choose a tag to compare

As part of this release we had 229 commits which resulted in 1 issue being closed.

Bug

  • #230 Preview package can be used with NServiceBus 8 or later, causing a MissingMethodException

Where to get it

You can download this release from NuGet.

🛡 ClamAV virus scan results: No viruses detected
Version: ClamAV 0.103.6
Scan Date: Mon, 13 Feb 2023 06:56:03 GMT

----------- SCAN SUMMARY -----------
Known viruses: 8652636
Engine version: 0.103.6
Scanned directories: 1
Scanned files: 3
Infected files: 0
Data scanned: 0.78 MB
Data read: 0.15 MB (ratio 5.10:1)
Time: 25.335 sec (0 m 25 s)
Start Date: 2023:02:13 06:55:36
End Date:   2023:02:13 06:56:01

0.5.0

14 Jan 17:21
06dc9e3
Compare
Choose a tag to compare

As part of this release we had 4 commits which resulted in 1 issue being closed.

Feature

  • #34 Send message outside of a handler

Where to get it

You can download this release from nuget.

0.4.0

04 Jan 14:05
a613c5b
Compare
Choose a tag to compare

As part of this release we had 10 commits which resulted in 1 issue being closed.

Improvement

  • #32 Introduce IAwsLambdaSQSEndpoint to simplify testing

Where to get it

You can download this release from nuget.

0.3.1

02 Nov 13:24
3aacaea
Compare
Choose a tag to compare

With NServiceBus.AwsLambda.SQS you can deploy your message handlers to AWS as Lambda functions. The powerful NServiceBus programming model, combined with AWS Lambda, makes it a breeze to build easy-to-deploy, scalable, pay-as-you-go distributed systems.

NServiceBus.AwsLambda.SQS allows AWS Lambda to do the heavy lifting of deployment and runtime management, while benefiting from all the usual NServiceBus features:

  • Full compatibility with NServiceBus endpoints
  • Immediate and delayed retries
  • Stateful message processing with NServiceBus Sagas
  • Auditing
  • Dependency injection support
  • Advanced pipeline extensibility
  • and more...

Getting Started

NServiceBus.AwsLambda.SQS makes endpoint configuration super simple:

static readonly AwsLambdaSQSEndpoint endpoint = new AwsLambdaSQSEndpoint(context =>
{
    var endpointConfiguration = new AwsLambdaSQSEndpointConfiguration("AwsLambdaSQSTrigger");
    
    //customize configuration here

    return endpointConfiguration;
});


public async Task FunctionHandler(SQSEvent evnt, ILambdaContext context)
{
    var cancellationDelay = context.RemainingTime.Subtract(TimeSpan.FromSeconds(10));
    using (var cancellationTokenSource = new CancellationTokenSource(cancellationDelay))
    {
        await endpoint.Process(evnt, context, cancellationTokenSource.Token);
    }
}

With the configuration done, just add message handlers for any message type received by the function:

public class TriggerMessageHandler : IHandleMessages<TriggerMessage>
{
    static readonly ILog Log = LogManager.GetLogger<TriggerMessageHandler>();

    public Task Handle(TriggerMessage message, IMessageHandlerContext context)
    {
        Log.Info($"Handling {nameof(TriggerMessage)} in {nameof(TriggerMessageHandler)}");
        return context.SendLocal(new FollowupMessage());
    }
}

About the public preview

The NServiceBus.AwsLambda.SQS package is released as a public preview. Public previews are separately licensed, production-ready packages, aiming to react more quickly to customer's needs. See the support policy for previews for more information about our support commitment. Preview packages may transition to fully supported versions after the preview period.

User adoption is crucial during this product development phase and helps us decide whether to make NServiceBus.AwsLambda.SQS a permanent part of the Particular Platform. Please let us know if you are using this preview by emailing us at support@particular.net.

We'd also love to receive your feedback about the new NServiceBus.AwsLambda.SQS package via our support channels, the project repository, or our public previews discussion group.

Where to get it

You can install the preview from NuGet.

With thanks,
The team in Particular

Please read our release policy for more details. Follow @ParticularNews to be notified of new releases and bug fixes.