Add amqp10 module: AMQP 1.0 in Spring Boot 4.2 with RabbitMQ 4
Generic spring-boot-starter-amqp (AmqpClient, @AmqpListener) and RabbitMQ's own AMQP 1.0 client against a real RabbitMQ 4.4.1 broker via Testcontainers. Transcripts in amqp10/output/ are written by the tests; no docs/ folder. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b44H98Yd627wauSpzA
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
78fc41e586
commit
e54cf840fd
@@ -0,0 +1,14 @@
|
||||
beans from spring-boot-starter-amqp-rabbitmq (no @Bean written for them):
|
||||
RabbitAmqpTemplate [rabbitAmqpTemplate]
|
||||
RabbitAmqpAdmin [rabbitAmqpAdmin]
|
||||
RabbitAmqpListenerContainerFactory [rabbitListenerContainerFactory]
|
||||
AmqpConnectionFactory [amqpRabbitConnectionFactory]
|
||||
declared by RabbitAmqpAdmin:
|
||||
queue orders.rabbit type=quorum durable=true
|
||||
exchange orders.topic type=topic
|
||||
binding orders.topic -> orders.rabbit key=orders.created
|
||||
$ template.convertAndSend("orders.topic", "orders.created", order).get() -> true
|
||||
@RabbitListener(queues = "orders.rabbit") received OrderMessage[id=r-1, item=router, qty=2]
|
||||
unroutable key : threw AmqpNackReceivedException: The message was rejected after 4 ms
|
||||
missing exchange: threw AmqpMessageRejectedException: no exchange 'no.such.exchange' in vhost '/' after 2 ms
|
||||
$ rabbitmqctl list_connections protocol -> an AMQP 1.0 connection is open: true
|
||||
Reference in New Issue
Block a user