https://github.com/martikan/artemisctl
Lightweight CLI tool for activemq-artemis using STOMP
https://github.com/martikan/artemisctl
go stomp
Last synced: 4 months ago
JSON representation
Lightweight CLI tool for activemq-artemis using STOMP
- Host: GitHub
- URL: https://github.com/martikan/artemisctl
- Owner: martikan
- Created: 2024-11-28T10:04:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-04T09:50:43.000Z (over 1 year ago)
- Last Synced: 2025-10-10T00:09:37.948Z (9 months ago)
- Topics: go, stomp
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# artemisctl
Lightweight client tool to interact with ActiveMQ-Artemis broker via STOMP.
Usage:
consume messages from TestUser queue:
```shell
artemisctl -u artemis -p artemis -q TestUser
```
consume messages using different broker instead of localhost one:
```shell
artemisctl -b internal.demo.artemis:30202 -u artemis -p artemis -q TestUser
```
---
produce plain text messages to TestUser queue:
```shell
artemisctl -m P -u artemis -p artemis -q TestUser \ 11:14:48
-message '{"id": 1, "firstName": "Test1", "lastName": "Test"}' \
-message '{"id": 2, "firstName": "Test2", "lastName": "Test"}' \
-message '{"id": 3, "firstName": "Test3", "lastName": "Test"}'
```
produce json text messages to TestUser queue:
```shell
artemisctl -m P -u artemis -p artemis -q TestUser -t json \ 11:14:48
-message '{"id": 1, "firstName": "Test1", "lastName": "Test"}' \
-message '{"id": 2, "firstName": "Test2", "lastName": "Test"}' \
-message '{"id": 3, "firstName": "Test3", "lastName": "Test"}'
```