{"action":"closed","issue":{"url":"https://api.github.com/repos/Particular/NServiceBus/issues/4162","repository_url":"https://api.github.com/repos/Particular/NServiceBus","labels_url":"https://api.github.com/repos/Particular/NServiceBus/issues/4162/labels{/name}","comments_url":"https://api.github.com/repos/Particular/NServiceBus/issues/4162/comments","events_url":"https://api.github.com/repos/Particular/NServiceBus/issues/4162/events","html_url":"https://github.com/Particular/NServiceBus/issues/4162","id":179267027,"number":4162,"title":"Express messages with transport that doesn't support express fails to startup endpoint","user":{"login":"ramonsmits","id":152998,"avatar_url":"https://avatars.githubusercontent.com/u/152998?v=3","gravatar_id":"","url":"https://api.github.com/users/ramonsmits","html_url":"https://github.com/ramonsmits","followers_url":"https://api.github.com/users/ramonsmits/followers","following_url":"https://api.github.com/users/ramonsmits/following{/other_user}","gists_url":"https://api.github.com/users/ramonsmits/gists{/gist_id}","starred_url":"https://api.github.com/users/ramonsmits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramonsmits/subscriptions","organizations_url":"https://api.github.com/users/ramonsmits/orgs","repos_url":"https://api.github.com/users/ramonsmits/repos","events_url":"https://api.github.com/users/ramonsmits/events{/privacy}","received_events_url":"https://api.github.com/users/ramonsmits/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Particular/NServiceBus/milestones/151","html_url":"https://github.com/Particular/NServiceBus/milestones/Future","labels_url":"https://api.github.com/repos/Particular/NServiceBus/milestones/151/labels","id":2052790,"number":151,"title":"Future","description":"","creator":{"login":"andreasohlund","id":125028,"avatar_url":"https://avatars.githubusercontent.com/u/125028?v=3","gravatar_id":"","url":"https://api.github.com/users/andreasohlund","html_url":"https://github.com/andreasohlund","followers_url":"https://api.github.com/users/andreasohlund/followers","following_url":"https://api.github.com/users/andreasohlund/following{/other_user}","gists_url":"https://api.github.com/users/andreasohlund/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasohlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasohlund/subscriptions","organizations_url":"https://api.github.com/users/andreasohlund/orgs","repos_url":"https://api.github.com/users/andreasohlund/repos","events_url":"https://api.github.com/users/andreasohlund/events{/privacy}","received_events_url":"https://api.github.com/users/andreasohlund/received_events","type":"User","site_admin":false},"open_issues":165,"closed_issues":5,"state":"open","created_at":"2016-10-06T16:19:18Z","updated_at":"2016-10-26T18:31:45Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2016-09-26T15:52:30Z","updated_at":"2016-10-26T18:31:45Z","closed_at":"2016-10-26T18:31:45Z","body":"I tried to send an express message using different transports and got the following exception using the SQL Transport\r\n\r\n```\r\nSystem.AggregateException: One or more errors occurred. ---> System.Exception: The configured transport does not support non-durable messages but some messages have been configured to be non-durable (e.g. by using the [Express] attribute). Make the messages durable, or use a transport supporting non-durable messages.\r\n   at NServiceBus.Features.MessageDurabilityFeature.Convention(Type messageType, Boolean doesSupportNonDurableDelivery, Boolean defaultToDurableMessages, Func`2 durabilityConvention) \r\n```\r\n\r\nIt makes more sense to write a WARN log entry if we detect express messages but the transport does not support non-durable messaging. An exception would make sense if it was the other way around so trying to send a durable message via a non-durable transport as that could result in potential unwanted message loss.\r\n\r\nThis is happening with V6 RC and not in V5 making this a breaking change.\r\n\r\n## Workaround\r\n\r\n@andreasohlund mentioned a potential workaround by setting a convention by doing the following during initialization:\r\n\r\n```\r\n configuration.Convertions.ExpressMessages(t=>false)\r\n```\r\n\r\n"}}
{"actor":{"display_login":"andreasohlund"}}