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 2022/07/26 14:58:08 UTC

[GitHub] [rocketmq-spring] no-today commented on issue #474: feat: RocketMQReplyListener Is it possible to allow returning null and not reply if returning null? the user is responsible for the consequences.

no-today commented on issue #474:
URL: https://github.com/apache/rocketmq-spring/issues/474#issuecomment-1195595364

   If possible, I will initiate pull request
   
   Object replyContent = rocketMQReplyListener.onMessage(doConvertMessage(messageExt));
   // if null, no reply
   if (replyContent == null) return;Message<?> message = MessageBuilder.withPayload(replyContent).build();


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org