{"id":21840118,"url":"https://github.com/rmarting/amqp-ruby-client","last_synced_at":"2025-03-21T15:33:33.627Z","repository":{"id":85168409,"uuid":"148737688","full_name":"rmarting/amqp-ruby-client","owner":"rmarting","description":"Ruby samples to send/consume messages using AMQP protocol. Based in qpid_proton gem.","archived":false,"fork":false,"pushed_at":"2018-09-14T05:14:28.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T11:08:13.391Z","etag":null,"topics":["amqp-client","qpid-proton","ruby","samples"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rmarting.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-14T04:57:08.000Z","updated_at":"2018-09-14T05:14:29.000Z","dependencies_parsed_at":"2023-04-26T14:45:50.148Z","dependency_job_id":null,"html_url":"https://github.com/rmarting/amqp-ruby-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarting%2Famqp-ruby-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarting%2Famqp-ruby-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarting%2Famqp-ruby-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rmarting%2Famqp-ruby-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rmarting","download_url":"https://codeload.github.com/rmarting/amqp-ruby-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822817,"owners_count":20516174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp-client","qpid-proton","ruby","samples"],"created_at":"2024-11-27T21:24:43.734Z","updated_at":"2025-03-21T15:33:33.585Z","avatar_url":"https://github.com/rmarting.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AMQP Ruby Client\n\nThis repo includes a set of simple samples using Qpid-Proton with Ruby Clients.\n\n# Prerequisites\n\nSoftware needed:\n\n* Ruby 2.2\n* Qpid Proton packages for Ruby\n* AMQP Ruby Gem\n* AMQP endpoint to send/consume messages\n\nA simple installation to run in a Fedora 28 workstation is:\n\n    $ sudo dnf install rubygem-qpid_proton rubygem-qpid_proton-doc\n    $ gem install qpid_proton amqp\n\n[ActiveMQ Artemis](https://activemq.apache.org/artemis/) is a open source, high performance and scalable broker \nthat implements AMQP protocol. You could install locally and test it using the Ruby Clients implemented here.\n\nTo install and start your local broker, please, refer the community documentation [here](https://activemq.apache.org/artemis/docs/latest/using-server.html)\n\n# Senders\n\nThese classes send a number of messages using AMQP. There is a simple class to send a text message and \nother class to send the content of a file.\n\nPattern of use\n\n    $ ruby send-file.rb \u003cconnection-url\u003e \u003caddress\u003e \u003cmessage-number\u003e \u003cpath-to-file\u003e\n\nSample of use (text message):\n\n    $ ruby send.rb amqp://user:password@localhost:5672 SampleQueue 10 'This a simple message'\n\nSample of use (file):\n\n    $ ruby send-file.rb amqp://user:password@localhost:5672 SampleQueue 10 ./message-body-content.txt\n\n# Receivers\n\nThis class consumes a number of messages using AMQP.\n\nSample of use (one message):\n\n    $ ruby receive.rb amqp://user:password@localhost:5672 SampleQueue\n\nSample of use (10 messages):\n\n    $ ruby receive.rb amqp://user:password@localhost:5672 SampleQueue 10\n\n# Main References\n\n* [Qpid Proton](https://qpid.apache.org/proton/)\n* [Qpid Proton AMQP Library - Ruby](https://qpid.apache.org/releases/qpid-proton-0.24.0/proton/ruby/api/index.html)\n* [Proton Ruby Examples](https://qpid.apache.org/releases/qpid-proton-0.24.0/proton/ruby/examples/index.html)\n* [qpid_proton Ruby Gem](https://rubygems.org/gems/qpid_proton/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmarting%2Famqp-ruby-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frmarting%2Famqp-ruby-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frmarting%2Famqp-ruby-client/lists"}