{"action":"created","issue":{"url":"https://api.github.com/repos/advantageous/qbit/issues/635","repository_url":"https://api.github.com/repos/advantageous/qbit","labels_url":"https://api.github.com/repos/advantageous/qbit/issues/635/labels{/name}","comments_url":"https://api.github.com/repos/advantageous/qbit/issues/635/comments","events_url":"https://api.github.com/repos/advantageous/qbit/issues/635/events","html_url":"https://github.com/advantageous/qbit/issues/635","id":143324157,"number":635,"title":"Improved dispatch (MTC)","user":{"login":"RichardHightower","id":382678,"avatar_url":"https://avatars.githubusercontent.com/u/382678?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardHightower","html_url":"https://github.com/RichardHightower","followers_url":"https://api.github.com/users/RichardHightower/followers","following_url":"https://api.github.com/users/RichardHightower/following{/other_user}","gists_url":"https://api.github.com/users/RichardHightower/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardHightower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardHightower/subscriptions","organizations_url":"https://api.github.com/users/RichardHightower/orgs","repos_url":"https://api.github.com/users/RichardHightower/repos","events_url":"https://api.github.com/users/RichardHightower/events{/privacy}","received_events_url":"https://api.github.com/users/RichardHightower/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T18:28:43Z","updated_at":"2016-03-28T17:27:59Z","closed_at":null,"body":"Our dispatch is setup so we can create proxies to local serviceQueues and expose them via REST/Websocket. \r\n\r\nThe problem is we only handle dispatch from local service queue and REST/Websocket IO, if we wanted to expose a service to another IO channel like Kafka or VertxEventBus, etc. there is no easy way to do it.\r\n\r\nI propose the following change. \r\n\r\nMethodCall should have a Callback associated with it.\r\nIf this Callback is set, this is the integration point for REST/WebSocket/VertxEventBus/ etc. \r\nInstead of using the more hacky way of direct reponsequeue access now. \r\n\r\nWe may want to make responsequeue and internal concept as well. "},"comment":{"url":"https://api.github.com/repos/advantageous/qbit/issues/comments/202496589","html_url":"https://github.com/advantageous/qbit/issues/635#issuecomment-202496589","issue_url":"https://api.github.com/repos/advantageous/qbit/issues/635","id":202496589,"user":{"login":"RichardHightower","id":382678,"avatar_url":"https://avatars.githubusercontent.com/u/382678?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardHightower","html_url":"https://github.com/RichardHightower","followers_url":"https://api.github.com/users/RichardHightower/followers","following_url":"https://api.github.com/users/RichardHightower/following{/other_user}","gists_url":"https://api.github.com/users/RichardHightower/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardHightower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardHightower/subscriptions","organizations_url":"https://api.github.com/users/RichardHightower/orgs","repos_url":"https://api.github.com/users/RichardHightower/repos","events_url":"https://api.github.com/users/RichardHightower/events{/privacy}","received_events_url":"https://api.github.com/users/RichardHightower/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T17:27:59Z","updated_at":"2016-03-28T17:27:59Z","body":"This was easier than imagined."}}