Commit graph

8 commits

Author SHA1 Message Date
1100ba1b13 Support timeout and deadline parameters for send
Add support for timeout and deadline parameters when messages are sent
to a message queue. To keep code duplication small, the `utils.rs`
file contains a helper function to parse the `Duration` from the
`String` received from the timeout parameter. Add conflict rules for
the timeout and deadline parameters.
2021-06-20 16:49:40 +02:00
9b52305285 Rename queue help name 2021-06-20 16:35:20 +02:00
3572b12a1a Receive message(s) from a queue
This subcommand receives one or more messages from a queue. Three
different methods are supported, read message by message, read until a
given timout or read until a specified date and time. This subcommand
also supports the `--non-blocking` flag.
2021-06-20 16:35:18 +02:00
36d9e8c02c Send a message to a queue 2021-06-14 23:01:24 +02:00
33f0bf8312 Print infos about a message queue 2021-06-14 23:01:24 +02:00
fe877b230c Remove a message queue 2021-06-14 23:01:24 +02:00
fdacba1eec Create a message queue
The create command creates a new message queue with support of the
typical parameters `mode`, `capacity` and `msgsize`. This command also
supports the global argument `verbose`.
2021-06-14 23:01:14 +02:00
2b96bcc562 Initial commit
To implement commands `clap` is used to parse arguments.
2021-06-14 03:05:23 +02:00