首页 > TAG信息列表 > setDelayTimeLevel
roket MQ 延迟消费
发送端,执行Message对象的setDelayTimeLevel(); 比如需要延迟10s message.setDelayTimeLevel(3); 默认延迟等级1:1s 2:5s 3:10s 4:30s 5:1m 6:2m 7:3m 8:4m 9:5m 10:6m 11:7m 12:8m 13:9m 14:10m 15:20m 16:30m 17:1h 18:2hroket MQ 延迟消费
发送端,执行Message对象的setDelayTimeLevel(); 比如需要延迟10s message.setDelayTimeLevel(3); 默认延迟等级1:1s 2:5s 3:10s 4:30s 5:1m 6:2m 7:3m 8:4m 9:5m 10:6m 11:7m 12:8m 13:9m 14:10m 15:20m 16:30m 17:1h 18:2h