Method Register(IExchange, string, ITransactedAction, string)
Defers action to the enclosing transacted block, which commits it after the database or rolls
it back on failure. Throws when the exchange is not inside one.
public static void Register(IExchange exchange, string key, ITransactedAction action, string endpoint)