Skip to content

edragonconnect/ex_aliyun_amqp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExAliyunAMQP.Connection

This library is built on amqp and make a simple wrapper for AMQP.Connection within Alibaba AMQP product's authorization.

Installation

Adding ex_aliyun_amqp to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_aliyun_amqp,  "~> 0.1"}
  ]
end

Sample

  def main() do
    options = [
      access_id: "",
      secret_key: "",
      owner_id: "",
      host: "",
      virtual_host: ""
    ]

    {:ok, connection} = ExAliyunAMQP.Connection.open(options)

    # The returned `connection` is an AMQP.Connection, and then
    # can be used for the ongoing call to AMQP.Channel.open/1 .
  end

Reference

Idiomatic Elixir client for RabbitMQ
Erlang RabbitMQ Client library

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages