public static void Send(this IDto dto, ICallbackMessage callback = null) { if (dto == null) { return; } var message = dto.ToMessage(); bool onCallback = callback != null && callback.Token != null; if (onCallback) { message.Token = callback.Token; } using (var ctx = BusFactory.CreateBusContext()) { SendInternal(ctx, message, onCallback); } }