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
Releases & Development Snapshots
Releases
You can subscribe to the atom feed to be notified of project releases.
The most recently released version of the package is 1.0.0.
1.0.0 Release (2024-06-23Z)
- Update org.slf4j:slf4j-api:2.0.10 → 2.0.13.
- Update ch.qos.logback:logback-classic:1.4.14 → 1.5.6.
- Update artemis.version:2.31.2 → 2.33.0.
- Update artemis.version:2.33.0 → 2.34.0.
- Update artemis.version:2.34.0 → 2.35.0.
- Require JDK 21. (Backwards incompatible)
The compiled artifacts for the release (and all previous releases) are available on Maven Central.
Previous Releases
The changelogs for the most recent previous releases are as follows:
0.0.1 Release (2019-06-22Z)
- Initial public release
Development Snapshots
At the time of writing, the current unstable development version of the package is 1.0.1-SNAPSHOT.
Development snapshots may be available in the Central Portal Snapshots repository. Snapshots are published to this repository every time the project is built by the project's continuous integration system, but snapshots do expire after around ninety days and so may or may not be available depending on when a build of the package was last triggered.
Manual
This project does not have any user manuals or other documentation beyond what might be present on the page above.
Sources
This project uses Git to manage source code.
Repository: https://www.github.com/io7m-com/jsay
$ git clone --recursive https://www.github.com/io7m-com/jsay
Issues
This project uses GitHub Issues to track issues.
License
Copyright © 2023 Mark Raynsford <code@io7m.com> https://www.io7m.com Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.