fix rocketmq example code style.

pull/2570/head
sorie 3 years ago
parent b4a9ca8605
commit 02e49f90a5

@ -48,8 +48,7 @@ public class RocketMQDelayConsumeApplication {
}
/**
* Produce delay messages
* @return
* Produce delay messages.
*/
@Bean
public ApplicationRunner producerDelay() {

@ -38,11 +38,11 @@ public class OrderlyMessageQueueSelector implements MessageQueueSelector {
.getLogger(OrderlyMessageQueueSelector.class);
/**
* to select a fixed queue by id
* @param mqs
* @param msg
* @param arg
* @return
* to select a fixed queue by id.
* @param mqs all message queues of this topic.
* @param msg mq message.
* @param arg mq arguments.
* @return message queue selected.
*/
@Override
public MessageQueue select(List<MessageQueue> mqs, Message msg, Object arg) {

Loading…
Cancel
Save