{"action":"created","issue":{"url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/24","labels_url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/24/comments","events_url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/24/events","html_url":"https://github.com/M6Web/AmqpBundle/pull/24","id":116720811,"number":24,"title":"WIP: consumer command","user":{"login":"mente","id":391997,"avatar_url":"https://avatars.githubusercontent.com/u/391997?v=3","gravatar_id":"","url":"https://api.github.com/users/mente","html_url":"https://github.com/mente","followers_url":"https://api.github.com/users/mente/followers","following_url":"https://api.github.com/users/mente/following{/other_user}","gists_url":"https://api.github.com/users/mente/gists{/gist_id}","starred_url":"https://api.github.com/users/mente/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mente/subscriptions","organizations_url":"https://api.github.com/users/mente/orgs","repos_url":"https://api.github.com/users/mente/repos","events_url":"https://api.github.com/users/mente/events{/privacy}","received_events_url":"https://api.github.com/users/mente/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T08:04:59Z","updated_at":"2015-11-13T09:01:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/M6Web/AmqpBundle/pulls/24","html_url":"https://github.com/M6Web/AmqpBundle/pull/24","diff_url":"https://github.com/M6Web/AmqpBundle/pull/24.diff","patch_url":"https://github.com/M6Web/AmqpBundle/pull/24.patch"},"body":"`oldsound/rabbitmq-bundle` has a nice consumer support via command. All you need to do is implement specific callback for the consumer and schedule command execution via any scheduler.\r\n\r\nFrom what I've seen you suggest using different library for implementing own commands. But in my case there are over 20 consumers. And I don't want to have a repeating command for each consumer.\r\n\r\nThis PR is an attempt to have generic command, like in oldsound bundle with backward-compatibility. It's still in progress but I decided to share it earlier to get feedback faster.\r\n\r\nSo welcome :)\r\n\r\nP.S. I will rebase branch with meaningful commits when I'm done"},"comment":{"url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/comments/156367807","html_url":"https://github.com/M6Web/AmqpBundle/pull/24#issuecomment-156367807","issue_url":"https://api.github.com/repos/M6Web/AmqpBundle/issues/24","id":156367807,"user":{"login":"omansour","id":1131098,"avatar_url":"https://avatars.githubusercontent.com/u/1131098?v=3","gravatar_id":"","url":"https://api.github.com/users/omansour","html_url":"https://github.com/omansour","followers_url":"https://api.github.com/users/omansour/followers","following_url":"https://api.github.com/users/omansour/following{/other_user}","gists_url":"https://api.github.com/users/omansour/gists{/gist_id}","starred_url":"https://api.github.com/users/omansour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omansour/subscriptions","organizations_url":"https://api.github.com/users/omansour/orgs","repos_url":"https://api.github.com/users/omansour/repos","events_url":"https://api.github.com/users/omansour/events{/privacy}","received_events_url":"https://api.github.com/users/omansour/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T09:01:54Z","updated_at":"2015-11-13T09:01:54Z","body":"hey @mente. Sorry but I am pretty sure this will not be merged in the bundle (you can still use your fork anyway). The DaemonBundle is much more effective at doing daemons (got more options, much simpler etc). I am convinced that decoupling the logic between consumer and daemon is better. \r\n\r\ncc @fabdsp @mikaelrandy "}}