dev-resources.site
for different kinds of informations.
About Spring AMQP
Published at
6/25/2024
Categories
spring
springboot
Author
Salad Lam
Main Article
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.
Articles
12 articles in total
Spring Boot: About @SpringBootApplication
read article
Apache wicket with spring boot example application: notice board
read article
About UriComponentsBuilder and UriComponents
read article
Spring Security: CSRF protection
read article
Spring Security: Redirect to login page if access pages which is for authorized user only
read article
Spring Boot: how to disable build-in auto-configuration
read article
Quick look on how Spring Boot supports JMS
read article
How to add a meter data into Spring Boot Actuator metrics endpoint
read article
Quick look of JNDI (Java Naming and Directory Interface)
read article
Spring Web MVC 6: Show error of REST response in RFC9457 format
read article
About Spring AMQP
currently reading
Spring Framework: About Aware suffix interface
read article
Featured ones: