{"id":15344551,"url":"https://github.com/ricardozanini/amq7-spring-samples","last_synced_at":"2026-05-10T19:24:23.846Z","repository":{"id":79133492,"uuid":"143339944","full_name":"ricardozanini/amq7-spring-samples","owner":"ricardozanini","description":"Simple sample of how to use Spring JMS with AMQ 7 via qpid and JMS Pool","archived":false,"fork":false,"pushed_at":"2018-08-28T23:05:50.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T18:44:10.996Z","etag":null,"topics":["amqp","artemis","jms","qpid","qpid-jms","spring","spring-boot"],"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/ricardozanini.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-08-02T20:05:23.000Z","updated_at":"2019-07-24T21:02:39.000Z","dependencies_parsed_at":"2023-05-23T11:15:23.327Z","dependency_job_id":null,"html_url":"https://github.com/ricardozanini/amq7-spring-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardozanini%2Famq7-spring-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardozanini%2Famq7-spring-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardozanini%2Famq7-spring-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardozanini%2Famq7-spring-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardozanini","download_url":"https://codeload.github.com/ricardozanini/amq7-spring-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245864556,"owners_count":20685054,"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":["amqp","artemis","jms","qpid","qpid-jms","spring","spring-boot"],"created_at":"2024-10-01T11:00:14.093Z","updated_at":"2026-05-10T19:24:18.807Z","avatar_url":"https://github.com/ricardozanini.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"This example was merged with the [Apache Artemis](https://github.com/apache/activemq-artemis/tree/master/examples/features/standard/spring-boot-integration) project and won't receive more updates.\n\n## AMQ7 client with Spring JMS\n\nThis is a small sample of how to send and consume messages using [Spring JMS](https://spring.io/guides/gs/messaging-jms/), [QPID](https://qpid.apache.org/components/jms/index.html) and [JMS Pool](https://github.com/messaginghub/pooled-jms) to a Red Hat AMQ7 broker. Use it as a reference for your own implementation.\n\nBehind the scenes this sample uses [amqp-10-jms-spring-boot](https://github.com/amqphub/amqp-10-jms-spring-boot) library to set up the code infrastructure and configuration. Please take a look at its documentation to fine tune this sample for your needs.\n\n### Configuration\n\n1. Edit the `src/main/resources/application.yml` file and add your broker credentials to it.\n\n2. Create the queue at your `broker.xml` file:\n\n```xml\n\u003caddresses\u003e\n  \u003caddress name=\"mailbox\"\u003e\n     \u003canycast\u003e\n         \u003cqueue name=\"mailbox\"\u003e\n             \u003cdurable\u003etrue\u003c/durable\u003e\n         \u003c/queue\u003e\n     \u003c/anycast\u003e\n   \u003c/address\u003e\n\u003c/addresses\u003e\n```\n\n3. Run the application with `mvn spring-boot:run`. The server should start at `8080` port and exposes `/produce` endpoint: [http://localhost:8080/produce](http://localhost:8080/produce)\n\n4. Hit it and a message should be sent to `mailbox` queue.\n\nYou may also use the hawtio console to send messages directly to the queue using the following format:\n\n```json\n{\n   \"to\":\"test@test.com\",\n   \"body\":\"this is my body\"\n}\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardozanini%2Famq7-spring-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardozanini%2Famq7-spring-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardozanini%2Famq7-spring-samples/lists"}