{"action":"closed","issue":{"url":"https://api.github.com/repos/vcabbage/amqp/issues/138","repository_url":"https://api.github.com/repos/vcabbage/amqp","labels_url":"https://api.github.com/repos/vcabbage/amqp/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/vcabbage/amqp/issues/138/comments","events_url":"https://api.github.com/repos/vcabbage/amqp/issues/138/events","html_url":"https://github.com/vcabbage/amqp/issues/138","id":372328198,"node_id":"MDU6SXNzdWUzNzIzMjgxOTg=","number":138,"title":"Enable link source name & link source capabilities","user":{"login":"haneev","id":1909463,"node_id":"MDQ6VXNlcjE5MDk0NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1909463?v=4","gravatar_id":"","url":"https://api.github.com/users/haneev","html_url":"https://github.com/haneev","followers_url":"https://api.github.com/users/haneev/followers","following_url":"https://api.github.com/users/haneev/following{/other_user}","gists_url":"https://api.github.com/users/haneev/gists{/gist_id}","starred_url":"https://api.github.com/users/haneev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haneev/subscriptions","organizations_url":"https://api.github.com/users/haneev/orgs","repos_url":"https://api.github.com/users/haneev/repos","events_url":"https://api.github.com/users/haneev/events{/privacy}","received_events_url":"https://api.github.com/users/haneev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-21T15:46:32Z","updated_at":"2018-10-23T22:03:58Z","closed_at":"2018-10-23T22:03:57Z","author_association":"NONE","body":"In our company we would like to create a shared durable consumer. The *durable* part was solved with #133 (great work! :) thanks!) However, the shared part is not solved. For that to work we need be able to set a name on the source (`l.name`) and insert some capabilities (`l.source.Capabilities`). We are using ActiveMQ Artemis 2.5. And for that to work we needs to set a name, such that other applications can connect to the same name, and we also need to set the capability `shared` to tell that this queue is shared. \r\n\r\nI would propose a function called `LinkSourceName(name string)` to set/overwrite the name of the link object. (currently a random string of 40 is implemented). And to support capabilities i would like to introduce `LinkSourceCapabilities(capabilities ...symbol)`. \r\n\r\nI have already created code for this and tested it as well. Let me know what you think :) great project by the way.\r\n\r\nhttps://github.com/vcabbage/amqp/compare/master...haneev:feature/shared-consumer?expand=1"}}
{"actor":{"display_login":"vcabbage"}}