About Spring AMQP

The discussion is based on following library

Spring Framework 6.1.8
Spring Boot 3.3.0
Spring AMQP 3.1.5

Components

Class
Function

RabbitAdmin
Exchange, queue and binding operation

Queue
Represent definition of queue

RabbitConn…


This content originally appeared on DEV Community and was authored by Salad Lam

The discussion is based on following library

  • Spring Framework 6.1.8
  • Spring Boot 3.3.0
  • Spring AMQP 3.1.5

Components

Class Function
RabbitAdmin Exchange, queue and binding operation
Queue Represent definition of queue
RabbitConnectionDetails Connection information
RabbitConnectionFactoryBeanConfigurer Bean for configure connection factory
CachingConnectionFactoryConfigurer Bean for configure CachingConnectionFactory
CachingConnectionFactory Connection factory
RabbitTemplateConfigurer Bean for configure RabbitTemplate
RabbitTemplate Send and receive message
RabbitMessagingTemplate Send and receive in Spring Messaging

Auto-configuration class

Class org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration

Operation run in which thread

Send message to exchange by RabbitTemplate/RabbitMessagingTemplate

Current thread due to synchronous operation.

Receive message from queue by RabbitTemplate/RabbitMessagingTemplate

Current thread due to synchronous operation.

Queue consumer registered by RabbitListener annotation

Consumer under the thread name org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#X-X.


This content originally appeared on DEV Community and was authored by Salad Lam


Print Share Comment Cite Upload Translate Updates
APA

Salad Lam | Sciencx (2024-06-25T12:13:03+00:00) About Spring AMQP. Retrieved from https://www.scien.cx/2024/06/25/about-spring-amqp/

MLA
" » About Spring AMQP." Salad Lam | Sciencx - Tuesday June 25, 2024, https://www.scien.cx/2024/06/25/about-spring-amqp/
HARVARD
Salad Lam | Sciencx Tuesday June 25, 2024 » About Spring AMQP., viewed ,<https://www.scien.cx/2024/06/25/about-spring-amqp/>
VANCOUVER
Salad Lam | Sciencx - » About Spring AMQP. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/06/25/about-spring-amqp/
CHICAGO
" » About Spring AMQP." Salad Lam | Sciencx - Accessed . https://www.scien.cx/2024/06/25/about-spring-amqp/
IEEE
" » About Spring AMQP." Salad Lam | Sciencx [Online]. Available: https://www.scien.cx/2024/06/25/about-spring-amqp/. [Accessed: ]
rf:citation
» About Spring AMQP | Salad Lam | Sciencx | https://www.scien.cx/2024/06/25/about-spring-amqp/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.