testcontainers-node icon indicating copy to clipboard operation
testcontainers-node copied to clipboard

Add support for Azure Service Bus via its Emulator

Open weyert opened this issue 6 months ago • 4 comments

Consider adding support for Azure Service Bus via Microsoft's Azure Service Bus Emulator. Appears to already available for other languages like .Net and Java: https://testcontainers.com/modules/azure-servicebus/

weyert avatar Jul 17 '25 16:07 weyert

PR welcome!

cristianrgreco avatar Sep 25 '25 08:09 cristianrgreco

I might give this a go if that's alright

UnstoppableMango avatar Nov 22 '25 19:11 UnstoppableMango

The Go implementation re-uses the mssql module to create the SqlServer dependency container. This should be possible in Node as well, but I don't see any precedent for inter-module dependencies in any of the existing Node modules. Is there preference to re-use the mssql module? Or would it be better to implement as a standalone GenericContainer specific to the ServiceBusEmulatorContainer?

I'm currently attempting to re-use the module and Typescript types are being finicky. Shouldn't be hard to resolve, but I don't want to devote time to fixing them if inter-module dependencies are discouraged!

UnstoppableMango avatar Nov 22 '25 21:11 UnstoppableMango

Got a draft put together for this. I have a few open questions that I've listed in the PR description!

UnstoppableMango avatar Dec 03 '25 16:12 UnstoppableMango