def setup_non_delivery
      @client.non_delivery do |reason, type, token, from, to|
        begin
          @non_delivery_stats.update(type)
          reason = case reason
          when "NO_ROUTE" then OperationResult::NO_ROUTE_TO_TARGET
          when "NO_CONSUMERS" then OperationResult::TARGET_NOT_CONNECTED
          else reason.to_s
          end
          result = Result.new(token, from, OperationResult.non_delivery(reason), to)
          @sender.handle_response(result)
        rescue Exception => e
          ErrorTracker.log(self, "Failed handling non-delivery for <#{token}>", e)
        end
      end
    end
def setup_non_delivery
      @client.non_delivery do |reason, type, token, from, to|
        begin
          @non_delivery_stats.update(type)
          reason = case reason
          when "NO_ROUTE" then OperationResult::NO_ROUTE_TO_TARGET
          when "NO_CONSUMERS" then OperationResult::TARGET_NOT_CONNECTED
          else reason.to_s
          end
          result = Result.new(token, from, OperationResult.non_delivery(reason), to)
          @sender.handle_response(result)
        rescue Exception => e
          ErrorTracker.log(self, "Failed handling non-delivery for <#{token}>", e)
        end
      end
    end
Setup non-delivery handler

 === Return
 true:: Always return true