{"action":"created","issue":{"url":"https://api.github.com/repos/TopCloud/socketcluster/issues/67","labels_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/67/comments","events_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/67/events","html_url":"https://github.com/TopCloud/socketcluster/issues/67","id":75985230,"number":67,"title":"from store to worker to client","user":{"login":"mlmarius","id":30006,"avatar_url":"https://avatars.githubusercontent.com/u/30006?v=3","gravatar_id":"","url":"https://api.github.com/users/mlmarius","html_url":"https://github.com/mlmarius","followers_url":"https://api.github.com/users/mlmarius/followers","following_url":"https://api.github.com/users/mlmarius/following{/other_user}","gists_url":"https://api.github.com/users/mlmarius/gists{/gist_id}","starred_url":"https://api.github.com/users/mlmarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlmarius/subscriptions","organizations_url":"https://api.github.com/users/mlmarius/orgs","repos_url":"https://api.github.com/users/mlmarius/repos","events_url":"https://api.github.com/users/mlmarius/events{/privacy}","received_events_url":"https://api.github.com/users/mlmarius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-13T13:31:17Z","updated_at":"2015-05-14T11:12:59Z","closed_at":"2015-05-14T10:39:57Z","body":"Hi. I made a rabbitMQ connection in my store. Now i have a callback run with the message from rabbitMQ when rabbit has messages. Problem is i don't know how to forward the message to my connected clients now. I made a listener in my worker: scServer.on('testchan',....) and from my store i do store.publish('testchan',.....) but the worker does nothing. So question is how do i listen for store events in my worker in order to forward them to the clients ? Do i have to select a particular store to listen on or is the channel enough ?"},"comment":{"url":"https://api.github.com/repos/TopCloud/socketcluster/issues/comments/102005559","html_url":"https://github.com/TopCloud/socketcluster/issues/67#issuecomment-102005559","issue_url":"https://api.github.com/repos/TopCloud/socketcluster/issues/67","id":102005559,"user":{"login":"mlmarius","id":30006,"avatar_url":"https://avatars.githubusercontent.com/u/30006?v=3","gravatar_id":"","url":"https://api.github.com/users/mlmarius","html_url":"https://github.com/mlmarius","followers_url":"https://api.github.com/users/mlmarius/followers","following_url":"https://api.github.com/users/mlmarius/following{/other_user}","gists_url":"https://api.github.com/users/mlmarius/gists{/gist_id}","starred_url":"https://api.github.com/users/mlmarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlmarius/subscriptions","organizations_url":"https://api.github.com/users/mlmarius/orgs","repos_url":"https://api.github.com/users/mlmarius/repos","events_url":"https://api.github.com/users/mlmarius/events{/privacy}","received_events_url":"https://api.github.com/users/mlmarius/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T11:12:59Z","updated_at":"2015-05-14T11:12:59Z","body":"great post. Thanks!"}}