{"id":14972957,"url":"https://github.com/spring-projects/spring-amqp-samples","last_synced_at":"2025-05-15T00:08:49.507Z","repository":{"id":39649445,"uuid":"1463755","full_name":"spring-projects/spring-amqp-samples","owner":"spring-projects","description":"Samples for Spring AMQP","archived":false,"fork":false,"pushed_at":"2024-12-27T16:50:34.000Z","size":804,"stargazers_count":600,"open_issues_count":0,"forks_count":401,"subscribers_count":80,"default_branch":"main","last_synced_at":"2025-04-13T21:33:59.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://projects.spring.io/spring-amqp/","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/spring-projects.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":"2011-03-10T14:40:16.000Z","updated_at":"2025-03-16T10:50:02.000Z","dependencies_parsed_at":"2024-02-22T16:50:45.358Z","dependency_job_id":"146692c7-50f7-473d-81ea-007dadc13d4b","html_url":"https://github.com/spring-projects/spring-amqp-samples","commit_stats":{"total_commits":214,"total_committers":18,"mean_commits":11.88888888888889,"dds":0.6869158878504673,"last_synced_commit":"3d9172b3876075cabfaffba0744d2c874a699386"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-amqp-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-amqp-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-amqp-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-projects%2Fspring-amqp-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-projects","download_url":"https://codeload.github.com/spring-projects/spring-amqp-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249204,"owners_count":22039029,"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-09-24T13:47:48.998Z","updated_at":"2025-05-15T00:08:44.446Z","avatar_url":"https://github.com/spring-projects.png","language":"Java","readme":"This project hosts some samples that complement [Spring AMQP](https://github.com/SpringSource/spring-amqp), showing you how to get started with Spring and AMQP.\n\n# Build Instructions #\n\nInstall the [RabbitMQ](https://www.rabbitmq.com) broker first (version\n2.3.1 or better).  Then clone from GIT and then use Maven (2.1.*):\n\n    $ git clone ...\n    $ mvn install\n\nSpringSource ToolSuite users (or Eclipse users with the latest\nm2eclipse plugin) can import the projects as existing Maven projects.\n\nThe basic HelloWorld sample has two versions (with synchronous and\nasynchronous consumers).  Both have two Java classes called `Producer`\nand `Consumer` with main methods to launch.  Run the producer first\nand ensure that the broker is already running.\n\nThe Stocks sample has a UI that can be launched as a Java main, and a\ndaemon server process with the same properties.  You can run them from\nan IDE easily.  Run the `Server` and then the `Client` and you should\nsee a swing client pop up and stock tickers appearing.  To run from\nthe command line you can use the Maven exec plugin:\n\n    $ mvn exec:java -Dexec.classpathScope=test -Dexec.mainClass=org.springframework.amqp.rabbit.stocks.Server \u0026\n    $ mvn exec:java -Dexec.classpathScope=test -Dexec.mainClass=org.springframework.amqp.rabbit.stocks.Client\n\nIn the example above we backgrounded the server process, or you could\nrun it in a different window to make things clearer in the console\nlogs.\n\n## Web UI\n\nThe Stocks sample is also a web application.  You should be able to run it in your IDE, e.g. if you imported the project into STS (or Eclipse with Maven support) you can drag it onto a server, or use `Run As...-\u003eOn Server`.  From the command line you can use\n\n    $ mvn jetty:run\n\nThe web UI is designed like the swing client - it has a ticker table\nthat updates every second (if there is any new data), and an order\nentry form. The `QuoteController` manages the interaction between the\nbrowser and the application and between the application and the AMQP\nbroker.\n\n## RabbitMQ Tutorials\n\nSpring Boot versions of the [6 standard RabbitMQ tutorials](https://www.rabbitmq.com/getstarted.html) are provided in `rabbitmq-tutorials`.\n\n## Spring Boot Applications\n\nSeveral Spring Boot applications are also provided, with names `spring-rabbit-...`.\nExplore their individual READMEs for more information.\n\n# Contributing to Spring AMQP Samples\n\nHere are some ways for you to get involved in the community:\n\n* Get involved with the Spring community on the Spring Community Forums.  Please help out on the [forum](https://forum.spring.io/) by responding to questions and joining the debate.\n* Create [JIRA](https://jira.springsource.org/browse/AMQP) tickets for bugs and new features and comment and vote on the ones that you are interested in.  \n* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](https://help.github.com/forking/).  If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.\n* Watch for upcoming articles on Spring by [subscribing](https://www.springsource.org/node/feed) to springframework.org\n\nRefer to the spring-amqp [Contributor's Guidelines](https://github.com/spring-projects/spring-amqp/blob/master/CONTRIBUTING.adoc) for complete information about the necessary steps.\n\n## Code Conventions and Housekeeping\nNone of these is essential for a pull request, but they will all help.  They can also be added after the original pull request but before a merge.\n\n* Use the Spring Framework code format conventions (import `eclipse-code-formatter.xml` from the root of the project if you are using Eclipse).\n* Make sure all new .java files to have a simple Javadoc class comment with at least an @author tag identifying you, and preferably at least a paragraph on what the class is for.\n* Add the ASF license header comment to all new .java files (copy from existing files in the project)\n* Add yourself as an @author to the .java files that you modify substantially (more than cosmetic changes).\n* Add some Javadocs and, if you change the namespace, some XSD doc elements (Spring AMQP is not stellar in this area yet, but it will have to come up to scratch one day, so you will be helping a lot).\n* A few unit tests would help a lot as well - someone has to do it.\n* If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-amqp-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-projects%2Fspring-amqp-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-projects%2Fspring-amqp-samples/lists"}