wolverine
wolverine copied to clipboard
Message Batching Listener Registration Fails When Using Service Bus + Conventional Routing
I'm unable to convert an existing handler to support to support message batching
public async Task HandleAsync(TransactionEtlEventV1 message, ITenantContext tenantContext, CancellationToken cancellationToken) => public async Task HandleAsync(TransactionEtlEventV1[] messages, ITenantContext tenantContext, CancellationToken cancellationToken)
I'm following instructions from https://wolverinefx.net/guide/handlers/batching.html. I'm using Azure Service Bus Topic listeners configured with convention based routing.
Verified the following:
- Code Gen works as expected
- No errors or warnings observed
- Inspecting WolverineRuntime Routing and not seeing listener registered.