Class BrokerTestUtils
java.lang.Object
org.springframework.amqp.rabbit.junit.BrokerTestUtils
Global convenience class for all integration tests, carrying constants and other utilities for broker set up.
- Author:
- Dave Syer, Gary Russell
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getPort()
The port that the broker is listening on (e.g.
-
Field Details
-
DEFAULT_PORT
public static final int DEFAULT_PORT- See Also:
-
-
Method Details
-
getPort
public static int getPort()The port that the broker is listening on (e.g. as input for aConnectionFactory
).- Returns:
- a port number
-