{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/2027","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/2027/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/2027/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/2027/events","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/2027","id":382756586,"node_id":"MDU6SXNzdWUzODI3NTY1ODY=","number":2027,"title":"Azure Web Jobs SDK 3.0 Service Bus Extensions Connection String override not respected","user":{"login":"bunceg","id":6209708,"node_id":"MDQ6VXNlcjYyMDk3MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6209708?v=4","gravatar_id":"","url":"https://api.github.com/users/bunceg","html_url":"https://github.com/bunceg","followers_url":"https://api.github.com/users/bunceg/followers","following_url":"https://api.github.com/users/bunceg/following{/other_user}","gists_url":"https://api.github.com/users/bunceg/gists{/gist_id}","starred_url":"https://api.github.com/users/bunceg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunceg/subscriptions","organizations_url":"https://api.github.com/users/bunceg/orgs","repos_url":"https://api.github.com/users/bunceg/repos","events_url":"https://api.github.com/users/bunceg/events{/privacy}","received_events_url":"https://api.github.com/users/bunceg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T16:52:54Z","updated_at":"2018-11-20T16:52:54Z","closed_at":null,"author_association":"NONE","body":"Please provide a succinct description of the issue.\r\n\r\n#### Repro steps\r\n\r\nCreate a new 3.0 SDK based web job using Service Bus. Add a Trigger attribute that contains connection string, e.g.\r\n\r\n```\r\npublic async Task ExecuteAsync(\r\n\t[ServiceBusTrigger(\"synchronizeaccount\", Connection = \"microsoft.servicebus.connectionstring.synchronizeaccount\")]Message msg)\r\n```\r\n#### Expected behavior\r\n\r\nThe Connection String to be pulled from the app.settings connection string in the same manner as the 2.0 SDK, e.g. a setting of:\r\n\r\n_\"AzureWebJobsmicrosoft.servicebus.connectionstring.synchronizeaccount\": \"Endpoint=xxxxxx\"_\r\n\r\nor, perhaps a preferred new behaviour of something like:\r\n\r\n_\"microsoft.servicebus.connectionstring.synchronizeaccount\": \"Endpoint=xxxxxx\"_\r\n\r\n#### Actual behavior\r\n\r\nSystem crash with error Microsoft Azure WebJobs SDK ServiceBus connection string 'microsoft.servicebus.connectionstring.synchronizeaccount' is missing or empty.\r\n\r\n#### Known workarounds\r\n\r\nNone\r\n\r\n#### Related information \r\n\r\nProvide any related information \r\n\r\nMicrosoft.Azure.WebJobs.Extensions.ServiceBus 3.0.1\r\n\r\nStack trace;\r\n\r\n```\r\n   at Microsoft.Azure.WebJobs.ServiceBus.ServiceBusAccount.get_ConnectionString() in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Extensions.ServiceBus\\ServiceBusAccount.cs:line 48\r\n   at Microsoft.Azure.WebJobs.ServiceBus.Listeners.ServiceBusListener..ctor(String entityPath, ServiceBusTriggerExecutor triggerExecutor, ServiceBusOptions config, ServiceBusAccount serviceBusAccount, MessagingProvider messagingProvider) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Extensions.ServiceBus\\Listeners\\ServiceBusListener.cs:line 35\r\n   at Microsoft.Azure.WebJobs.ServiceBus.Listeners.ServiceBusQueueListenerFactory.CreateAsync(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Extensions.ServiceBus\\Listeners\\ServiceBusQueueListenerFactory.cs:line 31\r\n   at Microsoft.Azure.WebJobs.ServiceBus.Triggers.ServiceBusTriggerBinding.CreateListenerAsync(ListenerFactoryContext context) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Extensions.ServiceBus\\Triggers\\ServiceBusTriggerBinding.cs:line 107\r\n   at Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexer.ListenerFactory.CreateAsync(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Indexers\\FunctionIndexer.cs:line 449\r\n   at Microsoft.Azure.WebJobs.Host.Listeners.HostListenerFactory.CreateAsync(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Listeners\\HostListenerFactory.cs:line 62\r\n   at Microsoft.Azure.WebJobs.Host.Listeners.ListenerFactoryListener.StartAsyncCore(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Listeners\\ListenerFactoryListener.cs:line 45\r\n   at Microsoft.Azure.WebJobs.Host.Listeners.ShutdownListener.StartAsync(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\Listeners\\ShutdownListener.cs:line 29\r\n   at Microsoft.Azure.WebJobs.JobHost.StartAsyncCore(CancellationToken cancellationToken) in C:\\projects\\azure-webjobs-sdk-rqm4t\\src\\Microsoft.Azure.WebJobs.Host\\JobHost.cs:line 101\r\n   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)\r\n   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)\r\n   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)\r\n   at MSS.PatronAccount.Processor.Host.WebJob.Program.Main(String[] args) in C:\\dev\\git\\src\\Processor.Host.WebJob\\Program.cs:line 79\r\n```\r\n"}}
{"actor":{"display_login":"bunceg"}}