{"id":38954632,"url":"https://github.com/jdpro/zf2-queueing-factory-module","last_synced_at":"2026-01-17T16:13:52.769Z","repository":{"id":16256460,"uuid":"19004464","full_name":"jdpro/zf2-queueing-factory-module","owner":"jdpro","description":null,"archived":false,"fork":false,"pushed_at":"2014-04-26T06:26:48.000Z","size":228,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-04-16T19:13:19.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/jdpro.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-21T19:38:24.000Z","updated_at":"2024-04-16T19:13:19.836Z","dependencies_parsed_at":"2022-09-10T19:40:07.000Z","dependency_job_id":null,"html_url":"https://github.com/jdpro/zf2-queueing-factory-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdpro/zf2-queueing-factory-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdpro%2Fzf2-queueing-factory-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdpro%2Fzf2-queueing-factory-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdpro%2Fzf2-queueing-factory-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdpro%2Fzf2-queueing-factory-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdpro","download_url":"https://codeload.github.com/jdpro/zf2-queueing-factory-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdpro%2Fzf2-queueing-factory-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-17T16:13:52.699Z","updated_at":"2026-01-17T16:13:52.759Z","avatar_url":"https://github.com/jdpro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"zf2-queueing-factory-module\n===========================\n\u003e This module only provides factories to give access to the queueing functionalities via Zend Service Manager.\n\u003e For now, it is limited to Activemq.\n\n## Installation\n\nJust add QueueAdapters to the listed module names, rename and copy the module.queue-adapters.local.php.dist to your application config autoload directory and fill it, e.g. :\n\n```php\nreturn array (\n\t\t\"queue-adapters\" =\u003e array(\n\t\t\t\t//inform the controller plugin, \n\t\t\t\t// \"default\" =\u003e\"activemq\",\n\t\t\t\t\"activemq\" =\u003e array (\n\t\t\t\t\t\t//\"host\" =\u003e \"127.0.0.1\",\n\t\t\t\t\t\t//\"port\" =\u003e \"61613\",\n\t\t\t\t\t\t// \"scheme\" =\u003e \"tcp\",\n\t\t\t\t\t\t\n\t\t\t\t)\n\t\t)\n\n);\n```\n## Usage\n\nAn instance of ZendQueue\\Queue with the ActivMQ adapter is now available :\n\n* either as a service \n\n```php\n$service = $this-\u003egetServiceLocator()-\u003eget(\"activemq\");\n//write to queue\n$service-\u003ecreateQueue(\"test\");\n$service-\u003esend(\"Hello World n°1\");\n//read from queue\n$iterator=$service-\u003ereceive();\n$current=$iterator-\u003ecurrent();\n```\n\n* or as a plugin manager if you want to access it from a Controller\n\n```php\n//write to queue\n$this-\u003equeue()-\u003ecreateQueue(\"test\");\n$this-\u003equeue()-\u003esend(\"Hello World n°1\");\n//read from queue\n$iterator=$this-\u003equeue()-\u003ereceive();\n$current=$iterator-\u003ecurrent();\n```\n\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdpro%2Fzf2-queueing-factory-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdpro%2Fzf2-queueing-factory-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdpro%2Fzf2-queueing-factory-module/lists"}