This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 9a38c5aad AMQP: update rabbitmq docker test image to v4 (#1885)
9a38c5aad is described below
commit 9a38c5aade3a3dc44472f44f39564e234daeca37
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Sep 4 09:46:54 2026 +0100
AMQP: update rabbitmq docker test image to v4 (#1885)
* AMQP: update rabbitmq docker test image to v4
* permit deprecated transient_nonexcl_queues feature in rabbitmq 4
---
amqp/src/test/travis/rabbitmq.conf | 4 ++++
docker-compose.yml | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/amqp/src/test/travis/rabbitmq.conf
b/amqp/src/test/travis/rabbitmq.conf
new file mode 100644
index 000000000..1f96bb1c0
--- /dev/null
+++ b/amqp/src/test/travis/rabbitmq.conf
@@ -0,0 +1,4 @@
+# RabbitMQ 4.x deprecates transient (non-durable) non-exclusive queues and
+# refuses to declare them by default. The AMQP connector tests declare such
+# queues, so permit the deprecated feature until the tests move off it.
+deprecated_features.permit.transient_nonexcl_queues = true
diff --git a/docker-compose.yml b/docker-compose.yml
index a9ca0093b..0a13144dd 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,9 +14,11 @@ services:
volumes:
- ./sns/src/test/travis/:/conf/
amqp:
- image: rabbitmq:3
+ image: rabbitmq:4
ports:
- "5672:5672"
+ volumes:
+ -
./amqp/src/test/travis/rabbitmq.conf:/etc/rabbitmq/conf.d/20-pekko-connectors.conf
cassandra:
image: cassandra:4.0
ports:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]