Understanding Azure Service Bus Filters and Actions

Recently, I worked on a project where I leveraged Azure Service Bus Filters to optimize message handling. Below is a detailed summary of what I learned and how these filters can be effectively used. What are Azure Service Bus Filters? Azure Service Bus Topics provide a robust way to publish messages to multiple subscribers, following a pub/sub model. In this model, a topic acts as a queue where messages are sent, and subscriptions to that topic allow selective filtering and processing of messages. Filters and actions are key features that enable precise control over which messages subscribers receive and how they are processed. ...

May 5, 2025 · 2 min · TC

Designing Event-Based Systems with Wolverine: A Comprehensive Guide

Designing an event-based system with Wolverine is an exciting challenge that leverages asynchronous messaging to decouple components and build a resilient architecture. Here’s a comprehensive pathway to help you get started: 1. Understand the Role of Wolverine Wolverine is a lightweight, .NET-native messaging framework designed to help you craft robust, event-driven applications. It facilitates: Message Routing: Seamlessly route events and commands to corresponding handlers. Transport Flexibility: Integrate with in-memory queues or external messaging systems such as RabbitMQ or Azure Service Bus. Resilience and Durability: Apply advanced patterns like retry, scheduling, and outbox support if needed. By using Wolverine, you can focus on business logic while the framework handles much of the messaging infrastructure. ...

April 2, 2025 · 4 min · Taner

Using Wolverine to Delay Messages in C#

Using Wolverine to Delay Messages in C# Wolverine’s feature for delaying messages can be a great alternative to using Task.Delay. Below, I’ll show you how to modify the solution to use Wolverine’s delayed messaging capabilities. 1. Setup Wolverine with Delayed Messaging Make sure you have the Wolverine NuGet package installed. dotnet add package Wolverine 2. Create a Wolverine Configuration with Delayed Messaging Configure Wolverine to handle delayed messaging. using Wolverine; using Microsoft.Extensions.Hosting; public class WolverineConfig : IWolverineRegistry { public void Configure(IWolverineOptions options) { options.PublishAllMessages().ToRabbitMq("rabbitmq://localhost"); options.ListenToRabbitMq("rabbitmq://localhost").QueueName("writeQueue"); } } 3. Modify WriteOperation Class Publish a delayed message using Wolverine after synchronizing the time. ...

February 23, 2025 · 2 min · TC