You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/08/08 06:07:21 UTC
[GitHub] [rocketmq-spring] RongtongJin commented on issue #111: how to
register registerMessageListener
RongtongJin commented on issue #111: how to register registerMessageListener
URL: https://github.com/apache/rocketmq-spring/issues/111#issuecomment-519379303
@lyxaaadf If no RuntimeException is thrown in onMessage method, it will return ConsumeConcurrentlyStatus.CONSUME_SUCCESS by default. Otherwise, return ConsumeConcurrentlyStatus.RECONSUME_LATER.
https://github.com/apache/rocketmq-spring/blob/cc1a340d980703a1c810b99fd361b8fb70cbc97d/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/support/DefaultRocketMQListenerContainer.java#L321-L342
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services