Index

A B C D E F G I J L M O P Q R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractTestContainerTests - Class in org.springframework.amqp.rabbit.junit
 
AbstractTestContainerTests() - Constructor for class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 
adjustLogLevels(String, List<Class<?>>, List<String>, Level) - Static method in class org.springframework.amqp.rabbit.junit.JUnitUtils
 
afterAll(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
afterAll(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 
afterEach(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
afterEach(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 
amqpPort() - Static method in class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 
apply(Statement, Description) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
apply(Statement, Description) - Method in class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
 
apply(Statement, FrameworkMethod, Object) - Method in class org.springframework.amqp.rabbit.junit.LogLevelAdjuster
 

B

beforeAll(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
beforeEach(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
BROKER_ADMIN_PW - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_ADMIN_URI - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_ADMIN_USER - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_HOSTNAME - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_PORT - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_PW - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_REQUIRED - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BROKER_USER - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
BrokerRunning - Class in org.springframework.amqp.rabbit.junit
A rule that prevents integration tests from failing if the Rabbit broker application is not running or not accessible.
BrokerRunningSupport - Class in org.springframework.amqp.rabbit.junit
A class that can be used to prevent integration tests from failing if the Rabbit broker application is not running or not accessible.
BrokerRunningSupport.BrokerNotAliveException - Exception in org.springframework.amqp.rabbit.junit
The RuntimeException thrown when broker is not available on the provided host port.
BrokerTestUtils - Class in org.springframework.amqp.rabbit.junit
Global convenience class for all integration tests, carrying constants and other utilities for broker set up.

C

categories() - Element in annotation interface org.springframework.amqp.rabbit.junit.LogLevels
Category names representing Log4j or Logback categories to change.
categories(String...) - Method in class org.springframework.amqp.rabbit.junit.LogLevelAdjuster
 
classes() - Element in annotation interface org.springframework.amqp.rabbit.junit.LogLevels
Classes representing Log4j categories to change.
clearEnvironmentVariableOverrides() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Clear any environment variable overrides set in BrokerRunning.setEnvironmentVariableOverrides(Map).
clearEnvironmentVariableOverrides() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Clear any environment variable overrides set in BrokerRunningSupport.setEnvironmentVariableOverrides(Map).

D

DEFAULT_PORT - Static variable in class org.springframework.amqp.rabbit.junit.BrokerTestUtils
 
DEFAULT_QUEUE_NAME - Static variable in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
deleteExchanges(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Delete arbitrary exchanges from the broker.
deleteExchanges(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Delete arbitrary exchanges from the broker.
deleteQueues(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Delete arbitrary queues from the broker.
deleteQueues(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Delete arbitrary queues from the broker.

E

evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTestCondition
 
evaluateExecutionCondition(ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 

F

fatal() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
fatal() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 

G

generateId() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Generate the connection id for the connection used by the rule's connection factory.
generateId() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Generate the connection id for the connection used by the rule's connection factory.
getAdminPassword() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the admin password.
getAdminPassword() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the admin password.
getAdminUri() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the admin uri.
getAdminUri() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the admin uri.
getAdminUser() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the admin user.
getAdminUser() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the admin user.
getBrokerRunning() - Static method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 
getConnectionFactory() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Get the connection factory used by this rule.
getConnectionFactory() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Get the connection factory used by this rule.
getHostName() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the port.
getHostName() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the port.
getPassword() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the password.
getPassword() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the password.
getPort() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the port.
getPort() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the port.
getPort() - Static method in class org.springframework.amqp.rabbit.junit.BrokerTestUtils
The port that the broker is listening on (e.g.
getUser() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Return the user.
getUser() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Return the user.

I

isBrokerAndManagementRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
isBrokerAndManagementRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
isBrokerAndManagementRunningWithEmptyQueues(String...) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
isBrokerAndManagementRunningWithEmptyQueues(String...) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
isNotRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
isNotRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
isPurgeAfterEach() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
isRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
isRunning() - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
isRunningWithEmptyQueues(String...) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Ensure the broker is running and has a empty queue(s) with the specified name(s) in the default exchange.
isRunningWithEmptyQueues(String...) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Ensure the broker is running and has a empty queue(s) with the specified name(s) in the default exchange.
isShouldRun() - Method in class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
Return true if the test should run.
isUp() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 

J

JUnitUtils - Class in org.springframework.amqp.rabbit.junit
Utility methods for JUnit rules and conditions.
JUnitUtils.LevelsContainer - Class in org.springframework.amqp.rabbit.junit
 

L

level() - Element in annotation interface org.springframework.amqp.rabbit.junit.LogLevels
The Log4j level name to switch the categories to during the test.
LevelsContainer(Map<Class<?>, Level>, Map<String, Level>, Map<String, Level>) - Constructor for class org.springframework.amqp.rabbit.junit.JUnitUtils.LevelsContainer
 
LogLevelAdjuster - Class in org.springframework.amqp.rabbit.junit
A JUnit method @Rule that changes the logger level for a set of classes while a test method is running.
LogLevelAdjuster(Level, Class<?>...) - Constructor for class org.springframework.amqp.rabbit.junit.LogLevelAdjuster
 
LogLevels - Annotation Interface in org.springframework.amqp.rabbit.junit
Test classes annotated with this will change logging levels between tests.
LogLevelsCondition - Class in org.springframework.amqp.rabbit.junit
JUnit condition that adjusts and reverts log levels before/after each test.
LogLevelsCondition() - Constructor for class org.springframework.amqp.rabbit.junit.LogLevelsCondition
 
LongRunning - Annotation Interface in org.springframework.amqp.rabbit.junit
Test classes annotated with this will not run if an environment variable or system property (default RUN_LONG_INTEGRATION_TESTS) is not present or does not have the value that Boolean.parseBoolean(String) evaluates to true.
LongRunningIntegrationTest - Class in org.springframework.amqp.rabbit.junit
Rule to prevent long running tests from running on every build; set environment variable RUN_LONG_INTEGRATION_TESTS on a CI nightly build to ensure coverage.
LongRunningIntegrationTest() - Constructor for class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
 
LongRunningIntegrationTest(String) - Constructor for class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
Check using a custom variable/property name.
LongRunningIntegrationTestCondition - Class in org.springframework.amqp.rabbit.junit
ExecutionCondition to skip long running tests unless an environment variable or property is set.
LongRunningIntegrationTestCondition() - Constructor for class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTestCondition
 

M

management() - Element in annotation interface org.springframework.amqp.rabbit.junit.RabbitAvailable
Requires the management plugin to be available.
managementPort() - Static method in class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 

O

org.springframework.amqp.rabbit.junit - package org.springframework.amqp.rabbit.junit
Provides support classes (Rules etc.

P

parseBooleanProperty(String) - Static method in class org.springframework.amqp.rabbit.junit.JUnitUtils
Return the parsed value if the provided property exists in the environment or system properties.
purgeAfterEach() - Element in annotation interface org.springframework.amqp.rabbit.junit.RabbitAvailable
Purge the test queues after each test.
purgeTestQueues() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Delete and re-declare all the configured queues.
purgeTestQueues() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Delete and re-declare all the configured queues.

Q

queues() - Element in annotation interface org.springframework.amqp.rabbit.junit.RabbitAvailable
The queues to create and ensure empty; they will be deleted after the test class completes.

R

RabbitAvailable - Annotation Interface in org.springframework.amqp.rabbit.junit
Test classes annotated with this will not run if there is no broker on localhost.
RabbitAvailableCondition - Class in org.springframework.amqp.rabbit.junit
JUnit5 ExecutionCondition.
RabbitAvailableCondition() - Constructor for class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 
RABBITMQ - Static variable in class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 
removeExchanges(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Remove exchanges from the broker.
removeTestQueues(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Remove any test queues that were created by an BrokerRunning.isRunningWithEmptyQueues(String...) method.
removeTestQueues(String...) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Remove any test queues that were created by an BrokerRunningSupport.isRunningWithEmptyQueues(String...) method.
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 
restUri() - Static method in class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 
revertLevels(String, JUnitUtils.LevelsContainer) - Static method in class org.springframework.amqp.rabbit.junit.JUnitUtils
 
RUN_LONG_INTEGRATION_TESTS - Static variable in class org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
 

S

setAdminPassword(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set the password for the management REST API connection default "guest".
setAdminPassword(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set the password for the management REST API connection default "guest".
setAdminUri(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set the uri for the REST API.
setAdminUri(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set the uri for the REST API.
setAdminUser(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set the user for the management REST API connection default "guest".
setAdminUser(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set the user for the management REST API connection default "guest".
setEnvironmentVariableOverrides(Map<String, String>) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set environment variable overrides for host, port etc.
setEnvironmentVariableOverrides(Map<String, String>) - Static method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set environment variable overrides for host, port etc.
setHostName(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
setHostName(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
setPassword(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set the password for the amqp connection default "guest".
setPassword(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set the password for the amqp connection default "guest".
setPort(int) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
 
setPort(int) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
 
setPurgeAfterEach(boolean) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Purge the test queues after each test (JUnit 5).
setUser(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunning
Set the user for the amqp connection default "guest".
setUser(String) - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Set the user for the amqp connection default "guest".
streamPort() - Static method in class org.springframework.amqp.rabbit.junit.AbstractTestContainerTests
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.springframework.amqp.rabbit.junit.RabbitAvailableCondition
 

T

test() - Method in class org.springframework.amqp.rabbit.junit.BrokerRunningSupport
Check connectivity to the broker and create any queues.

V

value() - Element in annotation interface org.springframework.amqp.rabbit.junit.LongRunning
The name of the variable/property used to determine whether long runnning tests should run.
value() - Element in annotation interface org.springframework.amqp.rabbit.junit.RabbitAvailable
The queues to create and ensure empty; they will be deleted after the test class completes.
A B C D E F G I J L M O P Q R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form