问题描述
我有一个带有Worker层和tomcat 7.0的弹性beantalk应用程序,它运行良好.但是我无法弄清楚如何从aws-sqsd 1.1执行的POST调用中获取消息属性,我已经检查了所有标头,属性,参数和主体,但没有检查任何内容.
I have an elastic beanstalk application with Worker tier and tomcat 7.0, it works well. But I could not figure out how to get the message attributes from the POST call performed by aws-sqsd 1.1, I have checked all the headers, attributes, parameters and the body, but nothing.
经过一段时间的探索,我发现aws-sqsd 1.1于2014-02-19发行,但是SQS消息属性支持的新功能于2014-05-06发行.因此,aws-sqsd 1.1不支持消息属性功能似乎是合理的,对吗?我们有什么解决方案可以支持EB worker中的消息属性吗?
After dig a while, I found that the aws-sqsd 1.1 was released on 2014-02-19 but the new feature of SQS message attribute support was published on 2014-05-06. So it seems reasonable that the aws-sqsd 1.1 does not support message attribute feature, is that right? Do we have any solutions to support message attribute in EB worker?
推荐答案
似乎已在aws-sqsd 1.2中添加了它!
It seems that this have been added in aws-sqsd 1.2!
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html
这篇关于如何在elasticbeanstalk worker tomcat中获取SQS消息属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!