i am using ActiveMQ as message broker and used Qpid proton c library to connect to Erlang for messaging service and seems working well with below commands with ActiveMQ running.
qpidpn:subscribe("amqp://127.0.0.1/topic://destination").
qpidpn:publish(#{address => "amqp://127.0.0.1/topic://destination", body => "hello"}).
flush().
qpidpn:stop().
q().
I need to write a module in elixir to connect to the ActiveMQ broker same as done in erlang above. Erlang is though connected to message broker service using qpid library. Please suggest.