/// <summary> /// The handle. /// </summary> /// <param name="unhandledConsumingContext"> /// The unhandled consuming context. /// </param> public void Handle(IUnhandledConsumingContext unhandledConsumingContext) { try { this._handlerAction(unhandledConsumingContext); } catch (Exception ex) { LogManager.GetCurrentClassLogger(). ErrorFormat("Unable to handle failed message [{0}].", ex, unhandledConsumingContext.Delivery.Label); } }