{"action":"created","issue":{"url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/53","labels_url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/53/comments","events_url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/53/events","html_url":"https://github.com/budjb/grails-rabbitmq-native/issues/53","id":59055975,"number":53,"title":"Redeliver","user":{"login":"tamershahin","id":4905043,"avatar_url":"https://avatars.githubusercontent.com/u/4905043?v=3","gravatar_id":"","url":"https://api.github.com/users/tamershahin","html_url":"https://github.com/tamershahin","followers_url":"https://api.github.com/users/tamershahin/followers","following_url":"https://api.github.com/users/tamershahin/following{/other_user}","gists_url":"https://api.github.com/users/tamershahin/gists{/gist_id}","starred_url":"https://api.github.com/users/tamershahin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamershahin/subscriptions","organizations_url":"https://api.github.com/users/tamershahin/orgs","repos_url":"https://api.github.com/users/tamershahin/repos","events_url":"https://api.github.com/users/tamershahin/events{/privacy}","received_events_url":"https://api.github.com/users/tamershahin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"budjb","id":1370939,"avatar_url":"https://avatars.githubusercontent.com/u/1370939?v=3","gravatar_id":"","url":"https://api.github.com/users/budjb","html_url":"https://github.com/budjb","followers_url":"https://api.github.com/users/budjb/followers","following_url":"https://api.github.com/users/budjb/following{/other_user}","gists_url":"https://api.github.com/users/budjb/gists{/gist_id}","starred_url":"https://api.github.com/users/budjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/budjb/subscriptions","organizations_url":"https://api.github.com/users/budjb/orgs","repos_url":"https://api.github.com/users/budjb/repos","events_url":"https://api.github.com/users/budjb/events{/privacy}","received_events_url":"https://api.github.com/users/budjb/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-02-26T11:02:50Z","updated_at":"2015-05-20T17:28:50Z","closed_at":null,"body":"Hi Bud,\r\n\r\nI'm using your plugin and it's great.. much better that the previous one!\r\nAs the previous one though it's not supporting to redeliver of the message X number of times, and it's ok since it's something missing from AMQP protocol.\r\n\r\nBut i need that feature, and as this answer suggested:\r\nhttp://stackoverflow.com/a/23161921/3074089\r\n\r\nI've created a couple of methods to handle the redelivery a fixed number of time with and exponentially growing waiting time.\r\n\r\nIt would be great if you could take a look at them and the example grails project I created:\r\n\r\nhttps://github.com/tamershahin/grails-rabbitmq-retry/blob/master/src/groovy/org/gametube/retry/RetryHandler.groovy\r\n\r\nI think that running the integration test provided should be enough to understand all logic, let me know if you need any more explanation about that.\r\n\r\nThe real question is:\r\nI would like to see this feature in the plugin itself, and I'm happy to create that code (I see this feature coded in ConsumerAdapter) and make a pull request. What do you think?\r\nI know that it's not in the protocol specification, so maybe you'll not be inclined to insert it in the plugin.\r\nBut it's something very useful, in fact it's the second time i have to introduce this feature in the project i'm working on using RabbitMQ and I would like to avoid customisations or to extend your plugin only for this..\r\n\r\nLet me know your thoughts and thanks for all your work.\r\n\r\nTamer\r\n "},"comment":{"url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/comments/103968536","html_url":"https://github.com/budjb/grails-rabbitmq-native/issues/53#issuecomment-103968536","issue_url":"https://api.github.com/repos/budjb/grails-rabbitmq-native/issues/53","id":103968536,"user":{"login":"tamershahin","id":4905043,"avatar_url":"https://avatars.githubusercontent.com/u/4905043?v=3","gravatar_id":"","url":"https://api.github.com/users/tamershahin","html_url":"https://github.com/tamershahin","followers_url":"https://api.github.com/users/tamershahin/followers","following_url":"https://api.github.com/users/tamershahin/following{/other_user}","gists_url":"https://api.github.com/users/tamershahin/gists{/gist_id}","starred_url":"https://api.github.com/users/tamershahin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamershahin/subscriptions","organizations_url":"https://api.github.com/users/tamershahin/orgs","repos_url":"https://api.github.com/users/tamershahin/repos","events_url":"https://api.github.com/users/tamershahin/events{/privacy}","received_events_url":"https://api.github.com/users/tamershahin/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T17:28:50Z","updated_at":"2015-05-20T17:28:50Z","body":"Hi Bud,\r\nI got some free time in the next days and I'll try to implement the solution with a new thread as you suggested.\r\nI'll do it in the github project I used to show you my proposal, if you have any suggestion or if you want to proceed in a different way let me know.\r\n\r\n"}}