{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/789","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/789/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/789/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/789/events","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/789","id":170970049,"number":789,"title":"Support Service Bus Queue transfers","user":{"login":"scramsby","id":20998199,"avatar_url":"https://avatars.githubusercontent.com/u/20998199?v=3","gravatar_id":"","url":"https://api.github.com/users/scramsby","html_url":"https://github.com/scramsby","followers_url":"https://api.github.com/users/scramsby/followers","following_url":"https://api.github.com/users/scramsby/following{/other_user}","gists_url":"https://api.github.com/users/scramsby/gists{/gist_id}","starred_url":"https://api.github.com/users/scramsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scramsby/subscriptions","organizations_url":"https://api.github.com/users/scramsby/orgs","repos_url":"https://api.github.com/users/scramsby/repos","events_url":"https://api.github.com/users/scramsby/events{/privacy}","received_events_url":"https://api.github.com/users/scramsby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-12T22:20:30Z","updated_at":"2016-08-12T22:25:12Z","closed_at":null,"body":"Service Bus Queues support transferring (with interim processing/transformation) queue messages from an input queue to an output transfer queue (which may be the same as the input queue). However, WebJobs doesn't have any attributes or back-end handling to facilitate this.\r\n\r\nYou can implement this yourself if you define your function to take a BrokeredMessage type. However, that requires you to do a lot of work that the WebJobs code normally does for you:\r\n* Convert the message content to the expected format (string, POCO, etc.).\r\n* Create the binding (e.g. MessageSender) to the output queue.\r\n\r\nIdeally you would just be able to specify attribute properties on the outputs to indicate which inputs they should transfer from. Then the back-end of WebJobs would automatically set up the output bindings accordingly (instantiating them with the viaEntityPath parameter) and automatically use the PartitionKey of the referenced input as the ViaPartitionKey of the referenced output."},"comment":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/comments/239574441","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/789#issuecomment-239574441","issue_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/789","id":239574441,"user":{"login":"scramsby","id":20998199,"avatar_url":"https://avatars.githubusercontent.com/u/20998199?v=3","gravatar_id":"","url":"https://api.github.com/users/scramsby","html_url":"https://github.com/scramsby","followers_url":"https://api.github.com/users/scramsby/followers","following_url":"https://api.github.com/users/scramsby/following{/other_user}","gists_url":"https://api.github.com/users/scramsby/gists{/gist_id}","starred_url":"https://api.github.com/users/scramsby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scramsby/subscriptions","organizations_url":"https://api.github.com/users/scramsby/orgs","repos_url":"https://api.github.com/users/scramsby/repos","events_url":"https://api.github.com/users/scramsby/events{/privacy}","received_events_url":"https://api.github.com/users/scramsby/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T22:25:12Z","updated_at":"2016-08-12T22:25:12Z","body":"See here for an example of how transfers work, including within transaction scopes:\r\nhttps://azure.microsoft.com/en-us/documentation/articles/service-bus-transactions/#_transfers-and-quotsend-viaquot"}}
{"actor":{"display_login":"scramsby"}}