File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Azure Service Bus
3
+ categories :
4
+ - cloud
5
+ docs :
6
+ - id : java
7
+ url : https://java.testcontainers.org/modules/azure/#azure-service-bus-emulator
8
+ maintainer : core
9
+ example : |
10
+ ```java
11
+ Network network = Network.newNetwork();
12
+
13
+ MSSQLServerContainer<?> mssql = new MSSQLServerContainer<>("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04")
14
+ .acceptLicense()
15
+ .withNetwork(network);
16
+ mssql.start();
17
+
18
+ var servicebus = new ServiceBusEmulatorContainer("mcr.microsoft.com/azure-messaging/servicebus-emulator:1.0.1")
19
+ .acceptLicense()
20
+ .withConfig(MountableFile.forClasspathResource("/service-bus-config.json"))
21
+ .withNetwork(network)
22
+ .withMsSqlServerContainer(mssql);
23
+ servicebus.start();
24
+ ```
25
+ installation : |
26
+ ```xml
27
+ <dependency>
28
+ <groupId>org.testcontainers</groupId>
29
+ <artifactId>azure</artifactId>
30
+ <version>1.20.5</version>
31
+ <scope>test</scope>
32
+ </dependency>
33
+ ```
34
+ description : |
35
+ The Azure Service Bus emulator offers a local development experience for the Service bus service.
36
+ ---
You can’t perform that action at this time.
0 commit comments