{"id":15346599,"url":"https://github.com/jsbxyyx/rmq-transaction","last_synced_at":"2026-05-05T23:33:41.395Z","repository":{"id":196190264,"uuid":"694470985","full_name":"jsbxyyx/rmq-transaction","owner":"jsbxyyx","description":"Sending message consistency based on RocketMQ","archived":false,"fork":false,"pushed_at":"2026-04-27T02:30:57.000Z","size":107,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-27T04:21:41.614Z","etag":null,"topics":["rocketmq","spring","spring-boot","transaction"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsbxyyx.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":"2023-09-21T04:11:52.000Z","updated_at":"2026-04-27T02:31:01.000Z","dependencies_parsed_at":"2023-12-29T09:37:09.281Z","dependency_job_id":"fd53d7da-b4a4-49b1-993f-8de52ffb8f92","html_url":"https://github.com/jsbxyyx/rmq-transaction","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"e6c47e6003dd64f77ca343b543fd6e66cdb7a1f8"},"previous_names":["jsbxyyx/rmq-transaction"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsbxyyx/rmq-transaction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbxyyx%2Frmq-transaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbxyyx%2Frmq-transaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbxyyx%2Frmq-transaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbxyyx%2Frmq-transaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsbxyyx","download_url":"https://codeload.github.com/jsbxyyx/rmq-transaction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsbxyyx%2Frmq-transaction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32672675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["rocketmq","spring","spring-boot","transaction"],"created_at":"2024-10-01T11:24:56.524Z","updated_at":"2026-05-05T23:33:41.390Z","avatar_url":"https://github.com/jsbxyyx.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rmq transaction\nSending message consistency based on RocketMQ\n\n[![rmq-transaction](https://img.shields.io/maven-central/v/io.github.jsbxyyx/rmq-transaction?label=rmq-transaction)](https://central.sonatype.com/artifact/io.github.jsbxyyx/rmq-transaction)\n\n# how to use\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.jsbxyyx\u003c/groupId\u003e\n    \u003cartifactId\u003ermq-transaction\u003c/artifactId\u003e\n    \u003cversion\u003e${rmq-transaction.version}\u003c/version\u003e\n\u003c/dependency\u003e\n\nCREATE TABLE `tb_mq_msg` (\n  `id` VARCHAR(36) NOT NULL,\n  `status` VARCHAR(20) NOT NULL COMMENT '事件状态(待发布NEW)',\n  `mq_template_name` VARCHAR(1000) NOT NULL,\n  `mq_destination` VARCHAR(1000) NOT NULL,\n  `mq_timeout` BIGINT NOT NULL,\n  `mq_delay` VARCHAR(255) NOT NULL,\n  `payload` TEXT NOT NULL,\n  `retry_times` INT NOT NULL,\n  `gmt_create` DATETIME NOT NULL,\n  `gmt_modified` DATETIME NOT NULL,\n  PRIMARY KEY (`id`),\n  KEY `idx_status` (`status`)\n) ENGINE=INNODB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n\n迁移执行：\n1.0.0 迁移到最新 ALTER TABLE tb_mq_msg MODIFY COLUMN id VARCHAR(36) NOT NULL;\n```\n\n# samples\n```\n@Transactional(rollbackFor = Exception.class)\npublic int addOrder(Order order) {\n    // ...\n    RMQHelper.syncSend(rocketMQTemplate, \"order:add\", new GenericMessage\u003c\u003e(payload, headers));\n    return order.getId();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsbxyyx%2Frmq-transaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsbxyyx%2Frmq-transaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsbxyyx%2Frmq-transaction/lists"}