first, not everytime, it didn't check in RouterFactory. The default extension point is only the last level, not a prerequisite.(I said three times for this. :) )
Throwing an exception is obviously better than using the default value such as for RouterFactory. It can tell user that RouterFactory didn't have a default extension, u should provide one in your URL. If u make it necessary, what do you think is the default implementation for RouterFactory? ConditionRouterFactory? FileRouterFactory? ScriptRouterFactory? or TagRouterFactory? All of them is wrong, it should be decided by user. If user didn't decide, Dubbo will throw exception to tell them that they have to. That is all. :) [ Full content available at: https://github.com/apache/incubator-dubbo/issues/2398 ] This message was relayed via gitbox.apache.org for [email protected]
