AMQP Connection string to Active MQ using Elixir -



AMQP Connection string to Active MQ using Elixir -

i using activemq message broker , used qpid proton c library connect erlang messaging service , seems working below commands 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 write module in elixir connect activemq broker same done in erlang above. erlang though connected message broker service using qpid library. please suggest.

i haven't tried out code below calling erlang lib elixir pretty trivial.

try this:

: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()

as say, haven't tried (and can't because don't have amqp or qpidn installed) may along lines of you're looking for.

amqp elixir qpid erlang-shell

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -