replaceDefault

public EventRouting<I> replaceDefault(EventRoute<I, EventMessage> 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