{"id":20644988,"url":"https://github.com/romanow/artemis-jms","last_synced_at":"2026-06-08T14:32:42.305Z","repository":{"id":146005394,"uuid":"457784195","full_name":"Romanow/artemis-jms","owner":"Romanow","description":"Example for using JMS with Spring Boot","archived":false,"fork":false,"pushed_at":"2024-07-16T13:05:46.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T15:54:29.546Z","etag":null,"topics":["artemis-mq","java","jms-client"],"latest_commit_sha":null,"homepage":"","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/Romanow.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":"2022-02-10T13:08:01.000Z","updated_at":"2024-07-16T13:05:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"6771524e-498c-44f4-81c7-104e864f53ba","html_url":"https://github.com/Romanow/artemis-jms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Romanow/artemis-jms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fartemis-jms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fartemis-jms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fartemis-jms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fartemis-jms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Romanow","download_url":"https://codeload.github.com/Romanow/artemis-jms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romanow%2Fartemis-jms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34067348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["artemis-mq","java","jms-client"],"created_at":"2024-11-16T16:18:20.871Z","updated_at":"2026-06-08T14:32:42.287Z","avatar_url":"https://github.com/Romanow.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple JMS application\n\n[![Build project](https://github.com/Romanow/artemis-jms/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/Romanow/artemis-jms/actions/workflows/build.yml)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n\n## Start Artemis in Docker\n\n```shell\n$ docker compose up -d\n```\n\nИз-за проблемы [AMQ212054 Destination address is blocked](https://stackoverflow.com/a/53836629/5649869) используется\nдонастройка конфигурации Artemis: меняется параметр `max-disk-usage = 100`.\n\nОписание\nиз [документации](https://activemq.apache.org/components/artemis/documentation/latest/paging.html#max-disk-usage):\n\n\u003e Max Disk Usage\n\u003e The System will perform scans on the disk to determine if the disk is beyond a configured limit. These are configured\n\u003e through max-disk-usage in percentage. Once that limit is reached any message will be blocked. (unless the protocol\n\u003e doesn't support flow control on which case there will be an exception thrown and the connection for those clients\n\u003e dropped).\n\n## Start Java application\n\n```shell\n$ ./gradlew clean build\n$ ./gradlew bootRun\n```\n\nПо-умолчанию приложение создает очередь `my-queue` и раз в 5 секунд отправляет туда сообщения\nвида: `Hello queue world \" + now().format(ISO_LOCAL_DATE_TIME)`\n\nДля задания настроек нужно в скрипт запуска передать параметры через `--args='...'`:\n\n```shell\n$ ./gradlew bootRun --args='--messaging.message=\"Hello, World!\" --messaging.queue-name=\"default-queue\" --broker-url=tcp://artemis:61616'\n```\n\nВсе доступные настройки:\n\n```\nSimple Java application for JMS messaging in Artemis\n\n--broker-url                           set broker url (default [tcp://127.0.0.1:61616])\n--broker-username                      set broker url (default [admin])\n--broker-password                      set broker password (default [admin])\n--messaging.queue-name                 set queue name (default 'my-queue')\n--messaging.message                    set message text (default 'hello, world + timestamp')\n--messaging.properties.\u003ckey\u003e=\u003cvalue\u003e   set properties\n--help                                 print help message\n```\n\n## Consume from Artemis UI\n\nДля получения сообщений из очереди через [Artemis UI](http://localhost:8161/console) -\u003e `Queue` -\u003e `my-queue`\n-\u003e `opeartions` -\u003e `browse()`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanow%2Fartemis-jms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromanow%2Fartemis-jms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromanow%2Fartemis-jms/lists"}