sender
This commit is contained in:
parent
36a33feda8
commit
b59a1d7547
|
@ -69,7 +69,7 @@ route(Routes, Delivery) ->
|
||||||
{ok, DelAcc1} = route([Route], DelAcc), DelAcc1
|
{ok, DelAcc1} = route([Route], DelAcc), DelAcc1
|
||||||
end, Delivery, Routes)}.
|
end, Delivery, Routes)}.
|
||||||
|
|
||||||
delivery(Msg) -> #mqtt_delivery{message = Msg, flows = []}.
|
delivery(Msg) -> #mqtt_delivery{sender = self(), message = Msg, flows = []}.
|
||||||
|
|
||||||
%% @doc Forward message to another node...
|
%% @doc Forward message to another node...
|
||||||
forward(Node, To, Delivery) ->
|
forward(Node, To, Delivery) ->
|
||||||
|
|
Loading…
Reference in New Issue