{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/29","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/29/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/29/events","html_url":"https://github.com/spring-cloud/spring-cloud-aws/issues/29","id":53236525,"number":29,"title":"Add scheduler support for SQS queue listener","user":{"login":"superhomine","id":5512883,"avatar_url":"https://avatars.githubusercontent.com/u/5512883?v=3","gravatar_id":"","url":"https://api.github.com/users/superhomine","html_url":"https://github.com/superhomine","followers_url":"https://api.github.com/users/superhomine/followers","following_url":"https://api.github.com/users/superhomine/following{/other_user}","gists_url":"https://api.github.com/users/superhomine/gists{/gist_id}","starred_url":"https://api.github.com/users/superhomine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superhomine/subscriptions","organizations_url":"https://api.github.com/users/superhomine/orgs","repos_url":"https://api.github.com/users/superhomine/repos","events_url":"https://api.github.com/users/superhomine/events{/privacy}","received_events_url":"https://api.github.com/users/superhomine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-02T03:56:29Z","updated_at":"2015-01-04T23:38:09Z","closed_at":null,"body":"@MessageMapping is aggressively polling messages at a rate of between 16 and 26 times a second on a single EC2 node. \r\n\r\nIt would be great to be able to specify the scheduled rate (ideally using cron expression) at which messages are pull from the queue. "},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/comments/68655044","html_url":"https://github.com/spring-cloud/spring-cloud-aws/issues/29#issuecomment-68655044","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-aws/issues/29","id":68655044,"user":{"login":"rpk","id":1000314,"avatar_url":"https://avatars.githubusercontent.com/u/1000314?v=3","gravatar_id":"","url":"https://api.github.com/users/rpk","html_url":"https://github.com/rpk","followers_url":"https://api.github.com/users/rpk/followers","following_url":"https://api.github.com/users/rpk/following{/other_user}","gists_url":"https://api.github.com/users/rpk/gists{/gist_id}","starred_url":"https://api.github.com/users/rpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpk/subscriptions","organizations_url":"https://api.github.com/users/rpk/orgs","repos_url":"https://api.github.com/users/rpk/repos","events_url":"https://api.github.com/users/rpk/events{/privacy}","received_events_url":"https://api.github.com/users/rpk/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T23:38:08Z","updated_at":"2015-01-04T23:38:08Z","body":"@alainsahli Shouldn't using SQS long polling partially resolve this cost issue?  Set wait-time-out to up to 20 seconds when creating the queue listener.  That should result in ~4320 requests / day, 1.5MM requests per year.  Running 10 hosts on the free tier, this comes out to $0.16/mo.\r\n\r\n```.xml\r\n<aws-messaging:annotation-driven-queue-listener wait-time-out=\"20\">\r\n```"}}