Files
messaging-library/messaging/messaging-rabbit/build.gradle
T

26 lines
1.2 KiB
Groovy

apply plugin: 'java-library'
dependencies {
api project(':messaging:messaging-core-api')
api project(':messaging:messaging-schema-api')
api project(':messaging:messaging-policy')
api project(':messaging:messaging-transport-spi')
api project(':messaging:messaging-observability')
api project(':messaging:messaging-security')
api project(':messaging:messaging-admin-api')
// api: RabbitChannelPublisher and the mappers expose Spring AMQP's Message on public
// signatures, so a consumer implementing the seam needs the type on its compile classpath.
api 'org.springframework.amqp:spring-rabbit'
implementation 'org.springframework:spring-context'
// Test-only. The same adapter contract Kafka runs, so a guarantee can only be weakened by
// editing the contract rather than by an adapter quietly not implementing it.
testImplementation project(':messaging:messaging-testkit')
// Live-broker certification. The confirm-and-return ordering the adapter depends on is a
// property of AMQP, and only a real broker exhibits it.
testImplementation 'org.testcontainers:testcontainers-rabbitmq'
testImplementation 'org.testcontainers:testcontainers-junit-jupiter'
}