{"action":"created","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/239","labels_url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/239/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/239/events","html_url":"https://github.com/Particular/NServiceBus.Azure/issues/239","id":53991351,"number":239,"title":"Self-hosted Publisher not publishing events to ASB","user":{"login":"danielHalan","id":641348,"avatar_url":"https://avatars.githubusercontent.com/u/641348?v=3","gravatar_id":"","url":"https://api.github.com/users/danielHalan","html_url":"https://github.com/danielHalan","followers_url":"https://api.github.com/users/danielHalan/followers","following_url":"https://api.github.com/users/danielHalan/following{/other_user}","gists_url":"https://api.github.com/users/danielHalan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielHalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielHalan/subscriptions","organizations_url":"https://api.github.com/users/danielHalan/orgs","repos_url":"https://api.github.com/users/danielHalan/repos","events_url":"https://api.github.com/users/danielHalan/events{/privacy}","received_events_url":"https://api.github.com/users/danielHalan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-11T13:10:24Z","updated_at":"2015-01-11T19:27:02Z","closed_at":"2015-01-11T18:55:58Z","body":"When Creating a self-hosted NSB Host, that is used to Publish Events, the Destination Queue seems to be missing, and no events are pushed to Azure. \r\n\r\nGet following Debug message on Publish (notice empty Queue Name)\r\n```\r\n2015-01-11 19:50:05.8136|DEBUG|NServiceBus.Unicast.Behaviors.DispatchMessageToTransportBehavior|Sending message Itq.xxxxxx.Domain.Events.System.CountriesAdded with ID c2285036-f0bc-4bf3-9924-a41d0146de82 to destination .\r\nToString() of the message yields: NServiceBus.Unicast.Messages.LogicalMessage\r\nMessage headers:\r\nNServiceBus.MessageId:c2285036-f0bc-4bf3-9924-a41d0146de82, NServiceBus.CorrelationId:c2285036-f0bc-4bf3-9924-a41d0146de82, NServiceBus.OriginatingEndpoint:ItqAdmin, $.diagnostics.originating.hostid:20a1f8063fe258ce9924ac5d4fca6abf, NServiceBus.MessageIntent:Publish, NServiceBus.Version:4.6.8, NServiceBus.TimeSent:2015-01-11 12:50:05:655675 Z, NServiceBus.OriginatingMachine:ITQ-W03, NServiceBus.ContentType:application/json, NServiceBus.EnclosedMessageTypes:Itq.xxxxxx.Domain.Events.System.CountriesAdded, Itq.xxxxxx.Domain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, WinIdName:, NServiceBus.ConversationId:95892044-081f-4ff2-9e5d-a41d0146de8c\r\n```\r\n\r\nThe App.config contains following mapping\r\n\r\n    <MessageEndpointMappings>\r\n      <add Assembly=\"Itq.Legal.Domain\" Namespace=\"Itq.Legal.Domain.Events.System\" Endpoint=\"ItqXXX\" />\r\n     </UnicastBusConfig>\r\n\r\nAnd using Feature,\r\n```\r\n      Configure.Features.Enable<StorageDrivenPublisher>();\r\n```\r\nAnd bus created with,\r\n```\r\n...\r\n                .AzureSagaPersister()\r\n                .AzureSubscriptionStorage()\r\n                .UseAzureTimeoutPersister()\r\n              .UnicastBus()\r\n                .LoadMessageHandlers()\r\n            .CreateBus()\r\n            .Start(() => Configure.Instance.ForInstallationOn<NServiceBus.Installation.Environments.Windows>().Install());\r\n```"},"comment":{"url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/comments/69507239","html_url":"https://github.com/Particular/NServiceBus.Azure/issues/239#issuecomment-69507239","issue_url":"https://api.github.com/repos/Particular/NServiceBus.Azure/issues/239","id":69507239,"user":{"login":"danielHalan","id":641348,"avatar_url":"https://avatars.githubusercontent.com/u/641348?v=3","gravatar_id":"","url":"https://api.github.com/users/danielHalan","html_url":"https://github.com/danielHalan","followers_url":"https://api.github.com/users/danielHalan/followers","following_url":"https://api.github.com/users/danielHalan/following{/other_user}","gists_url":"https://api.github.com/users/danielHalan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielHalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielHalan/subscriptions","organizations_url":"https://api.github.com/users/danielHalan/orgs","repos_url":"https://api.github.com/users/danielHalan/repos","events_url":"https://api.github.com/users/danielHalan/events{/privacy}","received_events_url":"https://api.github.com/users/danielHalan/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T19:27:02Z","updated_at":"2015-01-11T19:27:02Z","body":"Ok, the purpose of the configuration above was to mimic a working NSB.Host AsA_Publisher configuration. What is needed in terms of configuration for the self-hosted Bus to be able to publish events (Bus.Publish()) to ASB?"}}