skyscreamer / nevado

A JMS driver for Amazon SQS.

Home Page:http://nevado.skyscreamer.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plans for message selector support?

bitsofinfo opened this issue · comments

Hi - are there any plans for message selector support?

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

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

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 notifications@github.com 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
.

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"
}
}

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.