class SpringAmqpProjectGenerationConfiguration {

	private static String TESTCONTAINERS_CLASS_NAME = "org.testcontainers.containers.RabbitMQContainer";

	@Bean
	SpringRabbitTestBuildCustomizer springAmqpTestBuildCustomizer() {
		return new SpringRabbitTestBuildCustomizer();
	}

	@Bean
	@ConditionalOnRequestedDependency("testcontainers")
	ServiceConnectionsCustomizer rabbitServiceConnectionsCustomizer(DockerServiceResolver serviceResolver) {
		return (serviceConnections) -> serviceResolver.doWith("rabbit", (service) -> serviceConnections
			.addServiceConnection(ServiceConnection.ofContainer("rabbit", service, TESTCONTAINERS_CLASS_NAME, false)));
	}

	@Bean
	@ConditionalOnRequestedDependency("docker-compose")
	ComposeFileCustomizer rabbitComposeFileCustomizer(DockerServiceResolver serviceResolver) {<FILL_FUNCTION_BODY>}

}

		return (composeFile) -> serviceResolver.doWith("rabbit",
				(service) -> composeFile.services()
					.add("rabbitmq",
							service.andThen((builder) -> builder.environment("RABBITMQ_DEFAULT_USER", "myuser")
								.environment("RABBITMQ_DEFAULT_PASS", "secret")
								.ports(5672))));
	
<no_super_class>