CommandDispatcher
Abstract Dispatcher that routes each Dispatch through a CommandRegistry.
Subclasses provide the list of Commands at construction time. Command names are extracted from the dispatch payload via the Dispatch.getCommands extension.
The scheduler controls which thread the per-dispatch completion callback is invoked on once all of the dispatch's commands have finished. Runtime subclasses must supply the regular Tealium scheduler (i.e. schedulers.tealium) so that completion always lands on that dedicated thread. Passing Scheduler.SYNCHRONOUS here is intended for tests only: it makes completion run in whichever command-execution thread happens to finish last, which is not safe for runtime use.
Constructors
Functions
Locked routing bridge: for each dispatch, executes its commands in parallel. Invokes callback once per Dispatch as it completes, consistent with the Dispatcher contract for split-batch acknowledgement.
Called when this Module has been determined to be shutdown. This could happen for the following reasons:
Called whenever updated configuration has been made available for this specific Module.