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/20 13:59:47 UTC

[GitHub] [rocketmq-spring] fattan9577 commented on issue #121: Question about ext info in message header.

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"<no...@github.com>;
   发送时间: 2019年8月20日(星期二) 下午3:10
   收件人: "apache/rocketmq-spring"<ro...@noreply.github.com>;
   抄送: "傻子丁"<34...@noreply.github.com>;
   主题: 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:
users@infra.apache.org


With regards,
Apache Git Services

Re: [GitHub] [rocketmq-spring] fattan9577 commented on issue #121: Question about ext info in message header.

Posted by zhengwen zhu <ah...@gmail.com>.
Hi fattan9577,

你可以先了解一下UserProperty,  看看是否符合你的需求 org.apache.rocketmq.common.message.Message.putUserProperty(String, String)



> 在 2019年8月20日,下午9:59,GitBox <gi...@apache.org> 写道:
> 
> 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"<no...@github.com>;
>   发送时间: 2019年8月20日(星期二) 下午3:10
>   收件人: "apache/rocketmq-spring"<ro...@noreply.github.com>;
>   抄送: "傻子丁"<34...@noreply.github.com>;
>   主题: 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:
> users@infra.apache.org
> 
> 
> With regards,
> Apache Git Services