{"id":22387310,"url":"https://github.com/parths049/spring-boot-jms","last_synced_at":"2026-05-08T00:39:13.304Z","repository":{"id":89881573,"uuid":"162983123","full_name":"parths049/spring-boot-jms","owner":"parths049","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-26T15:56:14.000Z","size":13,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T06:41:39.313Z","etag":null,"topics":["jms","jms-broker","jms-queue","jpa","mysql","rest-api","spring-activemq","spring-boot","swagger-ui"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parths049.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-24T11:20:36.000Z","updated_at":"2019-10-24T11:37:16.000Z","dependencies_parsed_at":"2025-03-26T21:13:38.447Z","dependency_job_id":"acf8061e-ef67-4d62-ac51-6cf447e75844","html_url":"https://github.com/parths049/spring-boot-jms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parths049/spring-boot-jms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-boot-jms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-boot-jms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-boot-jms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-boot-jms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parths049","download_url":"https://codeload.github.com/parths049/spring-boot-jms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parths049%2Fspring-boot-jms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32762283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["jms","jms-broker","jms-queue","jpa","mysql","rest-api","spring-activemq","spring-boot","swagger-ui"],"created_at":"2024-12-05T02:08:36.131Z","updated_at":"2026-05-08T00:39:13.279Z","avatar_url":"https://github.com/parths049.png","language":"Java","funding_links":["https://www.paypal.me/parthsolanki49"],"categories":[],"sub_categories":[],"readme":"\n\nYou ultimate goal will be to create two services, service A and service B, and use a messaging system to connect them to single business process.\n\n##### Mandatory Acceptance criterias:\n- Service A will send messages to service B\n- Service B will track a balance containing money in some storage. It will receive messages from service A and add to the balance accordingly.\n- Services have no concept of \"users\", and this kind of development is not necessary for task at hand. \n- No authentication is necessary on any of the services\n- \"EUR\" should be the only supported currency in this initial version.\n- Both services must be documented with README.md files explaining following, project purpose, how to setup it, how to run it.\n\n\n##### Bonus points:\n- Services as docker containers\n- Unit test\n- Handling concurrent messages on Service B\n\n## Service A \n\nService A has two task:\n1) Accept HTTP request that carry money information\n2) Generate AMQP messages towards \"Service B\"\n\n##### HTTP API\n\n- HTTP API must be able to accept following HTTP payload:\n\n```json\n{\n  \"amount\": 1123.4,\n  \"currency\": \"EUR\",\n}\n```\n\n- Amount is sent as decimal representation.\n- Amount property must not be lower than -100000000 EUR, and larger than +100000000 EUR.\n- Valid requests must generate HTTP/200 requests\n- Invalid requests must generate HTTP/400 responses\n- HTTP API must be documented via projects README.md\n\n##### Messaging API\n\n- Messaging API must generate valid messages for Service B to consume after HTTP api described above is invoked.\n- All Messaging infrastructure (except definitions necessary for service B to consume messages) must be defined as part of service A\n- Example message sent over message broker:\n```json\n{\n  \"amount\": 112304,\n  \"currency\": \"EUR\",\n}\n```\n- Amount is sent as minimal currency denomination representation (e.g. cents, this means that 1 EUR is sent as amount 100, and 100.19 EUR is sent as amount 10019)  \n\n\n##### Tech requirements (use one of following)\n- Language: PHP, Java, golang\n- Messaging: Any AMQP broker (e.g. Rabbit MQ)\n\n\n## Service B\n\n- Service accepts AMQP messages generated by Service A\n- Service must have **account** entity stored in database, described by two properties, **balance** and **updatedAt**\n\n##### Handling messages\n\n- Initial **balance** must be set at **0**\n- Initial **updatedAt** must be set at **NULL**\n\nAs a result of each message processing, following must happen:\n- Balance must increased or decreased based on **amount** property\n- **updatedAt** property must be updated so that it reflect last balance change\n\n##### HTTP API\n\n- HTTP API must have single route that exposes state of balance\n\n\n\n##### Tech requirements (use one of following)\n- Language: PHP, Java, golang\n- Storage: Mariadb/Mysql, PostgreSql\n\n\n\n## Donation\nIf this project help you reduce time to develop, you can give me a cup of coffee :) \n\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.me/parthsolanki49)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparths049%2Fspring-boot-jms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparths049%2Fspring-boot-jms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparths049%2Fspring-boot-jms/lists"}