Rabbitmq: Ambiguous payload parameter for public xxx

错误

Ambiguous payload parameter for public voi

解决

给每个方法单独加监听

    @RabbitHandler
    @RabbitListener(queues = "xxxx")

你可能感兴趣的:(Java,rabbitmq,bug)