public class RabbitTestSupport extends AbstractExternalResourceTestSupport<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
Rule
that detects the fact that RabbitMQ is available on
localhost.Modifier and Type | Class and Description |
---|---|
static class |
RabbitTestSupport.RabbitProxy
Test class to allow testing deferred entity declarations when RabbitMQ is down.
|
logger, resource, SCS_EXTERNAL_SERVERS_REQUIRED
Constructor and Description |
---|
RabbitTestSupport() |
RabbitTestSupport(boolean management) |
RabbitTestSupport(boolean management,
int amqpPort,
int managementPort) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanupResource() |
protected void |
obtainResource() |
apply, beforeEach, getResource
public RabbitTestSupport()
public RabbitTestSupport(boolean management)
public RabbitTestSupport(boolean management, int amqpPort, int managementPort)
protected void obtainResource() throws Exception
obtainResource
in class AbstractExternalResourceTestSupport<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
Exception
protected void cleanupResource() throws Exception
cleanupResource
in class AbstractExternalResourceTestSupport<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
Exception
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.