Hi fattan9577, 你可以先了解一下UserProperty, 看看是否符合你的需求 org.apache.rocketmq.common.message.Message.putUserProperty(String, String)
> 在 2019年8月20日,下午9:59,GitBox <[email protected]> 写道: > > fattan9577 commented on issue #121: Question about ext info in message header. > URL: > https://github.com/apache/rocketmq-spring/issues/121#issuecomment-523028284 > > > 您好 我英语不太好 用中文不知道您能理解吗 > > > 就是我们的服务在调用接口的时候需要传递自定义header > > > 消费者在消费的时候需要调用其他服务提供的接口,所以我希望在生产消息的时候指定自定义header 这样在消费的时候 直接使用指定的自定义header > > > > ------------------ 原始邮件 ------------------ > 发件人: "dinglei"<[email protected]>; > 发送时间: 2019年8月20日(星期二) 下午3:10 > 收件人: "apache/rocketmq-spring"<[email protected]>; > 抄送: "傻子丁"<[email protected]>;"Author"<[email protected]>; > 主题: Re: [apache/rocketmq-spring] Question about ext info in messageheader. > (#121) > > > > > Could you please descript this question more detail? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or mute the thread. > > ---------------------------------------------------------------- > 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: > [email protected] > > > With regards, > Apache Git Services
