Attribute是用来给channel绑定一些其他参数,同一个channel可以同时绑定多个,比如,在上一个处理器中设置了一些参数,通过Attribute设置给channel,传递给下一个channel
绑定参数的方法:
//先获取一个名为user的AttributeKey
//绑定到channel上
获取channel上的Attribute参数值
微信扫一扫
Attribute是用来给channel绑定一些其他参数,同一个channel可以同时绑定多个,比如,在上一个处理器中设置了一些参数,通过Attribute设置给channel,传递给下一个channel
绑定参数的方法:
//先获取一个名为user的AttributeKey
//绑定到channel上
获取channel上的Attribute参数值
相关推荐