{"id":22998241,"url":"https://github.com/uswitch/clj-hypermq","last_synced_at":"2025-10-23T00:31:21.433Z","repository":{"id":16500447,"uuid":"19253281","full_name":"uswitch/clj-hypermq","owner":"uswitch","description":"Clojure client for hypermq","archived":false,"fork":false,"pushed_at":"2014-05-06T12:44:03.000Z","size":200,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":37,"default_branch":"master","last_synced_at":"2024-12-15T06:11:56.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uswitch.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}},"created_at":"2014-04-28T20:44:20.000Z","updated_at":"2015-08-19T07:41:50.000Z","dependencies_parsed_at":"2022-09-26T21:30:53.746Z","dependency_job_id":null,"html_url":"https://github.com/uswitch/clj-hypermq","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/uswitch%2Fclj-hypermq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fclj-hypermq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fclj-hypermq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uswitch%2Fclj-hypermq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uswitch","download_url":"https://codeload.github.com/uswitch/clj-hypermq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237759101,"owners_count":19361458,"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":[],"created_at":"2024-12-15T06:12:18.951Z","updated_at":"2025-10-23T00:31:21.122Z","avatar_url":"https://github.com/uswitch.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-hypermq\n\nA Clojure client library for [hypermq][1]\n\n[1]:https://github.com/uswitch/hypermq\n\n## Usage\n\n```clojure\n(:require [hypermq.client :as client])\n\n; Create messages on a queue\n(client/create-message \"http://localhost\" \"myqueue\" \"producer1\" {:msg \"1\"})\n; true\n(client/create-message \"http://localhost\" \"myqueue\" \"producer1\" {:msg \"2\"})\n; true\n\n; Consume messages from a queue\n(client/fetch-messages \"http://localhost\" \"myqueue\")\n; [{:id \"f83d9e11-58ed-446e-bc78-461f60b6189f\" :created 1398728082 :producer \"producer1\" :body {:msg \"1\"}} \n;  {:id \"40d9141d-7d5e-445c-b9ce-4be2e7d93da3\" :created 1398729082 :producer \"producer1\" :body {:msg \"2\"}}]\n\n; Optionally provide uuid of last seen message as etag to fetch only more recent messages \n(client/fetch-messages \"http://localhost\" \"myqueue\" :etag \"f83d9e11-58ed-446e-bc78-461f60b6189f\") \n; [{:id \"40d9141d-7d5e-445c-b9ce-4be2e7d93da3\" :created 1398729082 :producer \"producer1\" :body {:msg \"2\"}}]\n\n; Acknowledge message as seen by it's id\n; This simply stores the id for the client. It does not effect call to `fetch-messages` in any way. \n(acknowledge \"http://localhost\" \"myqueue\" \"client1\" \"f83d9e11-58ed-446e-bc78-461f60b6189f\")\n; true\n\n; Fetch the last seen message uuid for a client \u0026 queue\n(last-seen-message \"http://localhost\" \"myqueue\" \"myclient1\")\n; \"f83d9e11-58ed-446e-bc78-461f60b6189f\" \n```\n\n## License\n\nCopyright © 2014 Christian Blunden\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuswitch%2Fclj-hypermq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuswitch%2Fclj-hypermq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuswitch%2Fclj-hypermq/lists"}