{"action":"created","issue":{"url":"https://api.github.com/repos/tavendo/WAMP/issues/103","labels_url":"https://api.github.com/repos/tavendo/WAMP/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/tavendo/WAMP/issues/103/comments","events_url":"https://api.github.com/repos/tavendo/WAMP/issues/103/events","html_url":"https://github.com/tavendo/WAMP/issues/103","id":47227234,"number":103,"title":"Multiple procedure registrations with the same procedure name","user":{"login":"mbonneau","id":748287,"avatar_url":"https://avatars.githubusercontent.com/u/748287?v=3","gravatar_id":"","url":"https://api.github.com/users/mbonneau","html_url":"https://github.com/mbonneau","followers_url":"https://api.github.com/users/mbonneau/followers","following_url":"https://api.github.com/users/mbonneau/following{/other_user}","gists_url":"https://api.github.com/users/mbonneau/gists{/gist_id}","starred_url":"https://api.github.com/users/mbonneau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbonneau/subscriptions","organizations_url":"https://api.github.com/users/mbonneau/orgs","repos_url":"https://api.github.com/users/mbonneau/repos","events_url":"https://api.github.com/users/mbonneau/events{/privacy}","received_events_url":"https://api.github.com/users/mbonneau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tavendo/WAMP/labels/Advanced%20Profile","name":"Advanced Profile","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-10-30T02:33:05Z","updated_at":"2015-09-16T10:22:30Z","closed_at":null,"body":"How should multiple registrations of the same procedure name be handled by the Dealer?\r\n\r\nIn the basic profile, the <code>wamp.error.procedure_already_exists</code> error message is mentioned as a response to an attempt to register and already existing procedure. From this I assume that, by default, a procedure can only have one registration.\r\n\r\nIn the advanced profile, there is discussion about partitioned RPCs and different methods for calling them, but there is no option to tell the dealer that it should allow multiple registrations for a particular procedure.\r\n\r\nI have been implementing a feature in [Thruway](https://github.com/voryx/Thruway) that requires multiple registrations and have been using the option <code>REGISTER.Options.thruway_multiregister</code> , which is not great. I am looking for guidance on the proper way to do this. If there is not one, I would suggest <code>REGISTER.Options.allow_multiple_registrations|bool := true</code> to allow multiple registrations on an individual procedure name and <code>REGISTER.Options.allow_runon|list</code> which would specify which strategies to allow for calling - example: <code>[\"any\", \"all\", \"partition\"]</code>. (Restriction of <code>CALL.Options.runon</code> would be desirable as different applications may not be appropriate for all of the options.)"},"comment":{"url":"https://api.github.com/repos/tavendo/WAMP/issues/comments/140697644","html_url":"https://github.com/tavendo/WAMP/issues/103#issuecomment-140697644","issue_url":"https://api.github.com/repos/tavendo/WAMP/issues/103","id":140697644,"user":{"login":"konsultaner","id":2699538,"avatar_url":"https://avatars.githubusercontent.com/u/2699538?v=3","gravatar_id":"","url":"https://api.github.com/users/konsultaner","html_url":"https://github.com/konsultaner","followers_url":"https://api.github.com/users/konsultaner/followers","following_url":"https://api.github.com/users/konsultaner/following{/other_user}","gists_url":"https://api.github.com/users/konsultaner/gists{/gist_id}","starred_url":"https://api.github.com/users/konsultaner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konsultaner/subscriptions","organizations_url":"https://api.github.com/users/konsultaner/orgs","repos_url":"https://api.github.com/users/konsultaner/repos","events_url":"https://api.github.com/users/konsultaner/events{/privacy}","received_events_url":"https://api.github.com/users/konsultaner/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T10:22:30Z","updated_at":"2015-09-16T10:22:30Z","body":"@oberstet Thanks for the link. That will be enough for my further development.\r\n\r\nWhy should the first callee decide what policy to choose and not the router by configuration?"}}