原生编程

引入jar包

<dependency>
    <groupId>com.rabbitmq</groupId>
    <artifactId>amqp-client</artifactId>
    <version>5.0.0</version>
</dependency>

Spring集成

SpringBoot集成

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-amqp</artifactId>
    <version>2.0.0.RELEASE</version>
</dependency>

Native

Native Direct Exchange

Native Fanout Exchange

Native Topic Exchange

Native Mandatory

Native ProducerComfirm

Native RejectMessage

Native DLX

相关文章:

猜你喜欢
相关资源
相似解决方案