# EXAMPLES connect to localhost with default credentials and attach to a new temp queue on the default exchange: konsum Connect to a host with TLS on a custom port, authenticating with SSL client certificate. On every received message a callback is spawned. The message will be ACKed when the callback exits successfully. First 500 bytes of the message body are printed to stderr. Header infos are always printed to stderr: konsum -o amqp.example.com -p 5673 -T -k amqp-key.pem -c amqp-crt.pem -y vhost -x exchange -X./callback.sh -a -c -a callback.config.sh -f 2 -r binding.key.# -l 500 Authenticate with user and pass. Attach to an existing queue. Generate a file for every message: konsum -o amqp.example.com -U user -P pass -q queue -t Provide a custom CA cert for proving the server's identity via enviroment: $ env SYSTEM_CERTIFICATE_PATH=/etc/amqp/cacert.crt konsum -T -y vhost -x exchange -r# You can have no bindings, or you can bind the queue to one or multiple exchanges + binding keys: konsum -x x1 -r b1 -r b2 -x x2 -r b3 would bind the queue to exchange x1 with binding keys b1 and b2 and to exchange x2 with binding key b3. Stop with ^C