{"action":"created","issue":{"url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/479","labels_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/479/comments","events_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/479/events","html_url":"https://github.com/EasyNetQ/EasyNetQ/issues/479","id":101909997,"number":479,"title":"Re-queue already consumed message","user":{"login":"snebjorn","id":1266245,"avatar_url":"https://avatars.githubusercontent.com/u/1266245?v=3","gravatar_id":"","url":"https://api.github.com/users/snebjorn","html_url":"https://github.com/snebjorn","followers_url":"https://api.github.com/users/snebjorn/followers","following_url":"https://api.github.com/users/snebjorn/following{/other_user}","gists_url":"https://api.github.com/users/snebjorn/gists{/gist_id}","starred_url":"https://api.github.com/users/snebjorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snebjorn/subscriptions","organizations_url":"https://api.github.com/users/snebjorn/orgs","repos_url":"https://api.github.com/users/snebjorn/repos","events_url":"https://api.github.com/users/snebjorn/events{/privacy}","received_events_url":"https://api.github.com/users/snebjorn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T14:41:28Z","updated_at":"2015-08-25T08:49:53Z","closed_at":null,"body":"I'm looking for at way to re-queue a message that I'm trying to consume.\r\nThink this code snippet best explain it\r\n\r\n```csharp\r\nbus.Subscribe<MyMessage>(\"my_subscription_id\", msg => {\r\n    try\r\n    {\r\n        // do work... could be long running\r\n    }\r\n    catch\r\n    {\r\n        // something went wrong - requeue message\r\n    }\r\n});\r\n```\r\n\r\nI read http://dotnetcodr.com/2014/06/16/rabbitmq-in-net-c-basic-error-handling-in-receiver/ and it demonstrates how to reject and requeue a message using RabbitMQ.client.\r\n\r\nHow would I do something similar in EasyNetQ? Is it even a good approach to the problem?"},"comment":{"url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/comments/134528727","html_url":"https://github.com/EasyNetQ/EasyNetQ/issues/479#issuecomment-134528727","issue_url":"https://api.github.com/repos/EasyNetQ/EasyNetQ/issues/479","id":134528727,"user":{"login":"esditm","id":7996710,"avatar_url":"https://avatars.githubusercontent.com/u/7996710?v=3","gravatar_id":"","url":"https://api.github.com/users/esditm","html_url":"https://github.com/esditm","followers_url":"https://api.github.com/users/esditm/followers","following_url":"https://api.github.com/users/esditm/following{/other_user}","gists_url":"https://api.github.com/users/esditm/gists{/gist_id}","starred_url":"https://api.github.com/users/esditm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esditm/subscriptions","organizations_url":"https://api.github.com/users/esditm/orgs","repos_url":"https://api.github.com/users/esditm/repos","events_url":"https://api.github.com/users/esditm/events{/privacy}","received_events_url":"https://api.github.com/users/esditm/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T08:49:53Z","updated_at":"2015-08-25T08:49:53Z","body":"I'll check it out, thanks :)"}}