Annotation Interface SpringRabbitTest
Adds infrastructure beans to a Spring test context; do not use with Spring Boot since
it has its own auto configuration mechanism.
- Since:
- 2.3
- Author:
- Gary Russell
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSet the container type to determine which container factory to configure.Set the host when not usingRabbitAvailable
.Set the password when not usingRabbitAvailable
.int
Set the port when not usingRabbitAvailable
.Set the user when not usingRabbitAvailable
.
-
Element Details
-
host
String hostSet the host when not usingRabbitAvailable
.- Returns:
- the host.
- Default:
- "localhost"
-
port
int portSet the port when not usingRabbitAvailable
.- Returns:
- the port.
- Default:
- 5672
-
user
String userSet the user when not usingRabbitAvailable
.- Returns:
- the user.
- Default:
- "guest"
-
password
String passwordSet the password when not usingRabbitAvailable
.- Returns:
- the password.
- Default:
- "guest"
-
containerType
SpringRabbitTest.ContainerType containerTypeSet the container type to determine which container factory to configure.- Returns:
- the type.
- Default:
- simple
-