Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans for message selector support? #83

Open
bitsofinfo opened this issue Apr 22, 2014 · 5 comments
Open

Plans for message selector support? #83

bitsofinfo opened this issue Apr 22, 2014 · 5 comments

Comments

@bitsofinfo
Copy link

Hi - are there any plans for message selector support?

@carterpage
Copy link
Member

Not as of now. Amazon doesn't support anything that we can translate to an effective message selector.

@bitsofinfo
Copy link
Author

I swear I saw something I the console on aws where you could apply conditions to inbound SNS messages that a queue is subscribed to.... Now if that is available via the API is another question I'll go look again

@carterpage
Copy link
Member

Oh, maybe that's new. If you have a pointer to the docs, please pass it
along.

On Thu, May 1, 2014 at 1:58 PM, bitsofinfo [email protected] wrote:

I swear I saw something I the console on aws where you could apply
conditions to inbound SNS messages that a queue is subscribed to.... Now if
that is available via the API is another question I'll go look again


Reply to this email directly or view it on GitHubhttps://github.com//issues/83#issuecomment-41907575
.

@bitsofinfo
Copy link
Author

Why is this issue closed? @see http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/SQSExamples.html
http://docs.aws.amazon.com/IAM/latest/UserGuide/ManagingPolicies.html#AddingPermissions_API

You can create a policy with a conditions stanza (example below). So maybe a way to convert the message selector into a call that would apply that as a policy change on the SQS queue?

"Condition" : {
"DateGreaterThan" : {
"aws:CurrentTime":"2009-01-31T12:00Z"
},
"DateLessThan" : {
"aws:CurrentTime":"2009-01-31T15:00Z"
}
}

@carterpage
Copy link
Member

Right you are. Reopened. I've got enough other things to work on in the near term that I'm not going to get to this any time soon. If you want to propose an approach I'll be happy to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants