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
15 lines
929 B
Plaintext
15 lines
929 B
Plaintext
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
|