{"action":"opened","issue":{"url":"https://api.github.com/repos/SeanFeldman/ServiceBus.AttachmentPlugin/issues/31","repository_url":"https://api.github.com/repos/SeanFeldman/ServiceBus.AttachmentPlugin","labels_url":"https://api.github.com/repos/SeanFeldman/ServiceBus.AttachmentPlugin/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/SeanFeldman/ServiceBus.AttachmentPlugin/issues/31/comments","events_url":"https://api.github.com/repos/SeanFeldman/ServiceBus.AttachmentPlugin/issues/31/events","html_url":"https://github.com/SeanFeldman/ServiceBus.AttachmentPlugin/issues/31","id":298656617,"number":31,"title":"Usage of plugin via triggered Azure functions","user":{"login":"RickCSharp","id":19894016,"avatar_url":"https://avatars2.githubusercontent.com/u/19894016?v=4","gravatar_id":"","url":"https://api.github.com/users/RickCSharp","html_url":"https://github.com/RickCSharp","followers_url":"https://api.github.com/users/RickCSharp/followers","following_url":"https://api.github.com/users/RickCSharp/following{/other_user}","gists_url":"https://api.github.com/users/RickCSharp/gists{/gist_id}","starred_url":"https://api.github.com/users/RickCSharp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RickCSharp/subscriptions","organizations_url":"https://api.github.com/users/RickCSharp/orgs","repos_url":"https://api.github.com/users/RickCSharp/repos","events_url":"https://api.github.com/users/RickCSharp/events{/privacy}","received_events_url":"https://api.github.com/users/RickCSharp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T16:20:20Z","updated_at":"2018-02-20T16:20:20Z","closed_at":null,"author_association":"NONE","body":"Hi Sean!\r\n\r\nI have known about your plugin through our colleague Clemens.\r\nWe're trying to use the plugin via functions triggered by the presence of messages in the queue.\r\n_Is it even possible?_\r\n\r\nInput: We can write the message OK, and a blob is created.\r\nOutput: we read the message but the payload is empty...\r\n\r\nThis is the code of the function:\r\n\r\nusing System;\r\nusing System.Threading.Tasks;\r\npublic static void Run(string myQueueItem, TraceWriter log)\r\n{\r\n    log.Info($\"C# ServiceBus queue trigger function processed message: {myQueueItem}\"); \\\\ empty\r\n}\r\n\r\n\r\nThese are the bindings \r\n {\r\n  \"bindings\": [\r\n    {\r\n      \"name\": \"myQueueItem\",\r\n      \"type\": \"serviceBusTrigger\",\r\n      \"direction\": \"in\",\r\n      \"queueName\": \"test_attachment\",\r\n      \"connection\": \"Name_of_the_Company-sbus_RootManageSharedAccessKey_SERVICEBUS\",\r\n      \"accessRights\": \"Manage\"\r\n    }\r\n  ],\r\n  \"disabled\": false\r\n}\r\n"}}
{"actor":{"display_login":"RickCSharp"}}