use of org.springframework.amqp.rabbit.connection.ConnectionFactory in project spring-cloud-connectors by spring-cloud.
the class RabbitConnectionFactoryCreatorTest method cloudRabbitCreationNoUri.
@Test
public void cloudRabbitCreationNoUri() throws Exception {
AmqpServiceInfo serviceInfo = new AmqpServiceInfo("id", TEST_HOST, TEST_PORT, TEST_USERNAME, TEST_PASSWORD, TEST_VH);
ConnectionFactory connector = testCreator.create(serviceInfo, null);
assertConnectorPropertiesMatchUri(connector, serviceInfo.getUri());
}
Aggregations