                          (debug "sending response(s)")
                          (cond
                            (nil? res#)        nil
-                           (sequential? res#) (dorun (map #(route ~this1 %) res#))
-                           true               (route ~this1 res#)))))
+                           (sequential? res#) (dorun (map #(dispatch ~this1 %) res#))
+                           true               (dispatch ~this1 res#)))))
                  (recur (<! ~'ch-in)))
              (info "stopped.")))
          (let [~this1 ~(if startfn

            [taoensso.timbre :refer [trace debug info warn error fatal]]))

(defprotocol MessageRouting
  (route [this req]))

(defn safe-process [this f req & args]
  (try


       MessageRouting

       (dispatch [this# req#]
         (debug "routing message...")
         (put! ~'ch-out req#))

