replaceDefault

public CommandRouting<I> replaceDefault(CommandRoute<I, CommandMessage> newDefault)

Sets new default route in the schema.

Return

this to allow chained calls when configuring the routing

Parameters

newDefault

the new route to be used as default