{"id":22480155,"url":"https://github.com/findify/sqsmock","last_synced_at":"2025-08-02T14:32:44.253Z","repository":{"id":52231440,"uuid":"54979510","full_name":"findify/sqsmock","owner":"findify","description":"SQS mock library for Scala/Java","archived":false,"fork":false,"pushed_at":"2021-05-04T08:40:31.000Z","size":30,"stargazers_count":30,"open_issues_count":7,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T23:38:23.116Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/findify.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}},"created_at":"2016-03-29T13:48:19.000Z","updated_at":"2024-05-02T23:38:23.117Z","dependencies_parsed_at":"2022-09-11T11:00:15.464Z","dependency_job_id":null,"html_url":"https://github.com/findify/sqsmock","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fsqsmock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fsqsmock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fsqsmock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/findify%2Fsqsmock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/findify","download_url":"https://codeload.github.com/findify/sqsmock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228483524,"owners_count":17927363,"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-06T15:19:55.598Z","updated_at":"2024-12-06T15:19:56.268Z","avatar_url":"https://github.com/findify.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQS mock library for Java/Scala\n\n[![Build Status](https://travis-ci.org/shuttie/sqsmock.svg?branch=master)](https://travis-ci.org/shuttie/sqsmock)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.findify/sqsmock_2.12/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/io.findify/sqsmock_2.12)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n\nSqsmock is a web service implementing AWS SQS API, which can be used for local testing of your code using SQS\nbut without hitting real SQS endpoints.\n\nImplemented API methods:\n* CreateQueue (supported params: VisibilityTimeout)\n* DeleteMessage\n* ReceiveMessage (supported params: MaxNumberOfMessages)\n* SendMessage\n* SendMessageBatch\n\n## Installation\n\nSqsmock package is available for Scala 2.12 (on Java 8) on Maven Central. To install using SBT, add these\n statements to your `build.sbt`:\n\n    libraryDependencies += \"io.findify\" %% \"sqsmock\" % \"0.4.1\" % \"test\",\n\nOn maven, update your `pom.xml` in the following way:\n\n    // add this entry to \u003crepositories/\u003e\n\n    // add this entry to \u003cdependencies/\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.findify\u003c/groupId\u003e\n        \u003cartifactId\u003esqsmock_2.12\u003c/artifactId\u003e\n        \u003cversion\u003e0.4.1\u003c/version\u003e\n        \u003ctype\u003epom\u003c/type\u003e\n        \u003cscope\u003etest\u003c/scope\u003e\n    \u003c/dependency\u003e\n\n## Usage\nScala:\n\n    // create and start SQS API mock\n    val api = new SQSService(port = 8001, account = 1)\n    api.start()\n\n    // AWS SQS client setup\n    val credentials = new AnonymousAWSCredentials()\n    val client = new AmazonSQSClient(credentials)\n    client.setEndpoint(\"http://localhost:8001\")\n\n    // use it as usual\n    val queue = client.createQueue(\"hello\").getQueueUrl()\n    client.sendMessage(queue, \"world\")\n\nJava:\n\n    // create and start SQS API mock\n    SQSService api = new SQSService(8001, 1);\n    api.start();\n\n    // AWS SQS client setup\n    AWSCredentials credentials = new AnonymousAWSCredentials();\n    AmazonSQSClient client = new AmazonSQSClient(credentials);\n    client.setEndpoint(\"http://localhost:8001\");\n\n    // use it as usual\n    String queue = client.createQueue(\"hello\").getQueueUrl();\n    client.sendMessage(queue, \"world\");\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 Findify AB\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindify%2Fsqsmock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffindify%2Fsqsmock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffindify%2Fsqsmock/lists"}