Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/senocak/spring-kotlin-activemq
https://github.com/senocak/spring-kotlin-activemq
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/senocak/spring-kotlin-activemq
- Owner: senocak
- Created: 2024-05-03T08:58:03.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-03T08:58:16.000Z (6 months ago)
- Last Synced: 2024-05-03T13:37:08.164Z (6 months ago)
- Language: Kotlin
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Spring Kotlin ActiveMq
Apache ActiveMQ, tam bir Java Mesaj Hizmeti istemcisi ile birlikte Java'da yazılmış açık kaynaklı bir mesaj aracısıdır.## Setup
```ssh
docker-compose up -d
```## Test
Make a connection with server using sse.```http request
GET http://localhost:8080/sse
```Send following request many times.
```http request
GET http://localhost:8080/jms
```You should see some messages coming from the socket
```
data:413dea94-a582-40f2-9f8e-9de5659c2241data:c442f95f-ba6b-4994-9feb-aade6a1350f5
data:f1377bed-780c-43e8-90bd-a5470c744960
```check the logs out and should be something like;
```
: Sending message to Topic: testtopic, randomUUID: 9cd007dd-9b88-4c38-90d3-a7e7baee9430
: Received ActiveMQTextMessage from Topic: 9cd007dd-9b88-4c38-90d3-a7e7baee9430
```## Ref
https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/boot-features-messaging.html