How To use Channel in Umbrella Application?

Environment

  • Elixir version (elixir -v): 1.7.2
  • Phoenix version (mix deps): 1.3.0
  • Operating system: linux

Expected behavior

I have an umbrella app which has three apps (One elixir, and Two phoenix)

  • MyApp
  • MyAppWeb
  • MyAppAdmin

I want to able to broadcast events (user placing an order) from MyAppWeb to MyAppAdmin using Phoenix channel since both have different Endpoint and Socket.

Actual behavior

I can’t find anything on that…
Or am i thinking it wrong?
If there is a better to do this, please help…
thanks.

1 Like