{"action":"created","issue":{"url":"https://api.github.com/repos/rebus-org/Rebus/issues/469","repository_url":"https://api.github.com/repos/rebus-org/Rebus","labels_url":"https://api.github.com/repos/rebus-org/Rebus/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/rebus-org/Rebus/issues/469/comments","events_url":"https://api.github.com/repos/rebus-org/Rebus/issues/469/events","html_url":"https://github.com/rebus-org/Rebus/issues/469","id":161032119,"number":469,"title":"subscription broken","user":{"login":"stevengopmo","id":14218631,"avatar_url":"https://avatars.githubusercontent.com/u/14218631?v=3","gravatar_id":"","url":"https://api.github.com/users/stevengopmo","html_url":"https://github.com/stevengopmo","followers_url":"https://api.github.com/users/stevengopmo/followers","following_url":"https://api.github.com/users/stevengopmo/following{/other_user}","gists_url":"https://api.github.com/users/stevengopmo/gists{/gist_id}","starred_url":"https://api.github.com/users/stevengopmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevengopmo/subscriptions","organizations_url":"https://api.github.com/users/stevengopmo/orgs","repos_url":"https://api.github.com/users/stevengopmo/repos","events_url":"https://api.github.com/users/stevengopmo/events{/privacy}","received_events_url":"https://api.github.com/users/stevengopmo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-18T16:29:03Z","updated_at":"2016-06-18T18:13:49Z","closed_at":"2016-06-18T17:37:31Z","body":"Hi,\r\n\r\nI'm having a very strange problem this morning with my subscriptions.  I get this message in my log\r\n\r\n`Rebus.Exceptions.RebusApplicationException: Message with ID 26b7fcc6-a66b-4322-846b-bcb03ba30a8f and type Rebus.Messages.Control.SubscribeRequest, Rebus could not be dispatched to any handlers\r\n   at Rebus.Pipeline.Receive.DispatchIncomingMessageStep.<Process>d__1.MoveNext()`\r\n\r\nMy webapi (owner of the incoming subscriptions) is configured like so\r\n\r\n`            var jsonSubcriptionStorage = Path.Combine(appDataPath + @\"\\subscriptions.json\");\r\n            Configure\r\n                .With(adapter)\r\n                .Options(o=> o.LogPipeline(true))\r\n                .Logging(l => l.Serilog(Serilog.Log.Logger))\r\n                .Transport(t => t.UseMsmq(\"myMessages\"))\r\n                .Subscriptions(s => s.UseJsonFile(jsonSubcriptionStorage))\r\n                .Start();\r\n`\r\n\r\nmy windows service that is subscribing to the messages is configured like\r\n\r\n`            var bus = Configure\r\n                .With(adapter)\r\n                .Options(o => o.LogPipeline(true))\r\n                .Serialization(s =>\r\n                {\r\n                    var settings = new JsonSerializerSettings();\r\n                    settings.ConfigureForNodaTime(DateTimeZoneProviders.Tzdb);\r\n                    s.UseNewtonsoftJson(settings);\r\n                })\r\n                .Logging(l => l.Serilog(Serilog.Log.Logger))\r\n                .Transport(t => t.UseMsmq(\"myService\"))\r\n                .Routing(r => r.TypeBased().MapAssemblyOf<ProjectProposed>(\"myMessages\"))\r\n                .Start();\r\n`\r\n\r\nThis used to work, I have the subscriptions.json to prove it, but when I deleted the subscriptions file to try something I get the error above.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rebus-org/Rebus/issues/comments/226956827","html_url":"https://github.com/rebus-org/Rebus/issues/469#issuecomment-226956827","issue_url":"https://api.github.com/repos/rebus-org/Rebus/issues/469","id":226956827,"user":{"login":"mookid8000","id":32968,"avatar_url":"https://avatars.githubusercontent.com/u/32968?v=3","gravatar_id":"","url":"https://api.github.com/users/mookid8000","html_url":"https://github.com/mookid8000","followers_url":"https://api.github.com/users/mookid8000/followers","following_url":"https://api.github.com/users/mookid8000/following{/other_user}","gists_url":"https://api.github.com/users/mookid8000/gists{/gist_id}","starred_url":"https://api.github.com/users/mookid8000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mookid8000/subscriptions","organizations_url":"https://api.github.com/users/mookid8000/orgs","repos_url":"https://api.github.com/users/mookid8000/repos","events_url":"https://api.github.com/users/mookid8000/events{/privacy}","received_events_url":"https://api.github.com/users/mookid8000/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T18:13:49Z","updated_at":"2016-06-18T18:13:49Z","body":"Oh, but you CAN get access to the settings - it's thus the _default JSON serializer_ that is sealed off - if you want to customize things, go ahead and pull in [Rebus.NewtonsoftJson](https://www.nuget.org/packages/Rebus.NewtonsoftJson/), and then you can hand your custom `JsonSerializerSettings` to it 😄 "}}
{"actor":{"display_login":"mookid8000"}}