```clojure
(ns onyx.messaging.dummy-messenger
  (:require [onyx.extensions :as extensions]))

(defmethod extensions/assign-site-resources :dummy-messenger
  [config peer-site peer-sites]
  {:port 1})

(defrecord DummyMessenger [peer-opts])

(defn dummy-messenger [peer-opts]
  (->DummyMessenger peer-opts))

(defmethod extensions/peer-site onyx.messaging.dummy_messenger.DummyMessenger
  [messenger]
  {:address 1})
```

Add get-peer-site for dummy messenger.
user
```clojure
(ns onyx.messaging.dummy-messenger
  (:require [onyx.extensions :as extensions]))

(defmethod extensions/assign-site-resources :dummy-messenger
  [config peer-site peer-sites]
  {:port 1})

(defmethod extensions/get-peer-site :dummy-messenger
  [replica peer]
  "localhost")

(defrecord DummyMessenger [peer-opts])

(defn dummy-messenger [peer-opts]
  (->DummyMessenger peer-opts))

(defmethod extensions/peer-site onyx.messaging.dummy_messenger.DummyMessenger
  [messenger]
  {:address 1})
```
assistant