Skip to content

Spring Cloud Stream整合Rabbit之重复投递 | Spring | MQ | Rabbit | Spring Cloud Stream | EdisonXu的技术分享 #121

@EdisonXu

Description

@EdisonXu

http://edisonxu.com/2022/01/28/spring-cloud-stream-rabbit.html

SpringCloudStream 整合Rabbit 时,消费端在处理失败时,如果需要进行重试,可以有如下几种重试机制: 方法1(默认):当消费端在处理消息时抛出异常,那么默认会在当前线程的3次的Retry。该方法是默认的,可以通过修改配置文件,指定channel下的参数,例如:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions