Tiny JMS text message sender
  • Java 99.1%
  • CSS 0.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-31 18:42:56 +01:00
.forgejo Update workflows. 2026-07-31 18:42:56 +01:00
src Update site metadata. 2025-08-09 15:06:05 +00:00
.gitignore Update .gitignore. 2024-05-07 16:01:44 +00:00
.gitmodules Move to new organization. 2024-04-30 21:31:48 +00:00
doc7m-books.json Add doc7m-books.json 2026-07-31 18:36:47 +01:00
pom.xml Migrate project. 2026-06-27 11:09:04 +01:00
README-CHANGES.xml Mark release 1.0.0 2024-06-23 17:58:59 +00:00
README-LICENSE.txt Update LICENSE 2023-08-13 21:16:10 +00:00
README.in Migrate project. 2026-06-27 11:09:04 +01:00
README.md Migrate project. 2026-06-27 11:09:04 +01:00

jsay

Maven Central Maven Central (snapshot) Java Version

com.io7m.jsay

jsay

The jsay package provides a tiny command-line JMS sender.

Features

  • Tiny command-line JMS message sender.
  • ISC license.

Usage

The jsay command-line tool connects to a message broker, sends a single text message, and then disconnects and exits.

INFO [main] com.io7m.jsay.Main: Usage: jsay [options]
  Options:
  * --address
      The message address
  * --broker-uri
      The message broker URI
    --expires
      The message expiry time
    --file
      The message file (if not specified, data is read from stdin)
      Default: /dev/stdin
    --password
      The message broker password
    --topic
      The destination is a topic, not a queue.
      Default: false
    --user
      The message broker user
    --verbose
      The level of logging verbosity
      Default: INFO
      Possible Values: [TRACE, DEBUG, INFO, WARN, ERROR]

The following invocation sends a Hello world! message to the JMS destination named announcements on the given broker:

$ echo 'Hello world!' | java -jar jsay.jar \
  --address announcements \
  --broker-uri tcp://messaging.example.com:54663 \
  --expires 2024-01-01T00:00:00+00:00